FIX:filename use '/' for save
jira: none Change-Id: Ic7ffd91f0eeaf73b348a8064fbb0c2ace5a44066
This commit is contained in:
parent
8dfd3bbb0c
commit
182a4f75d9
|
@ -248,6 +248,7 @@ bool Bed3D::set_shape(const Pointfs& printable_area, const double printable_heig
|
||||||
m_type = type;
|
m_type = type;
|
||||||
//m_texture_filename = texture_filename;
|
//m_texture_filename = texture_filename;
|
||||||
m_model_filename = model_filename;
|
m_model_filename = model_filename;
|
||||||
|
std::replace(m_model_filename.begin(), m_model_filename.end(), '\\', '/');
|
||||||
//BBS: add part plate logic
|
//BBS: add part plate logic
|
||||||
m_extended_bounding_box = this->calc_extended_bounding_box(false);
|
m_extended_bounding_box = this->calc_extended_bounding_box(false);
|
||||||
|
|
||||||
|
|
|
@ -4993,8 +4993,10 @@ void PartPlateList::update_logo_texture_filename(const std::string &texture_file
|
||||||
};
|
};
|
||||||
if (!texture_filename.empty() && !check_texture(texture_filename)) {
|
if (!texture_filename.empty() && !check_texture(texture_filename)) {
|
||||||
BOOST_LOG_TRIVIAL(error) << "Unable to load bed texture: " << texture_filename;
|
BOOST_LOG_TRIVIAL(error) << "Unable to load bed texture: " << texture_filename;
|
||||||
} else
|
} else {
|
||||||
m_logo_texture_filename = texture_filename;
|
m_logo_texture_filename = texture_filename;
|
||||||
|
std::replace(m_logo_texture_filename.begin(), m_logo_texture_filename.end(), '\\', '/');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*slice related functions*/
|
/*slice related functions*/
|
||||||
|
|
Loading…
Reference in New Issue