FIX:STP and step are treated as the same type
jira: none Change-Id: Ib4dadbb132fb3cd626f5439ec6b1a11caae3fd2e
This commit is contained in:
parent
fc476f115d
commit
87d6a055b3
|
@ -12586,7 +12586,7 @@ bool Plater::load_same_type_files(const wxArrayString &filenames) {
|
||||||
std::string ext_str = ext.extension().string();
|
std::string ext_str = ext.extension().string();
|
||||||
boost::algorithm::to_lower(ext_str);
|
boost::algorithm::to_lower(ext_str);
|
||||||
if (ext_str == ".stp" || ext_str == ".step") {
|
if (ext_str == ".stp" || ext_str == ".step") {
|
||||||
ext.replace_extension(".step");
|
ext_str =".step";
|
||||||
}
|
}
|
||||||
return ext_str;
|
return ext_str;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue