FIX:cancel obj import restrictions
jira: none Change-Id: Iaf3e799ca982ad6aeb3ec76e9a416c4c8e4d100c
This commit is contained in:
parent
fa71471920
commit
3fa678d42e
|
@ -239,16 +239,13 @@ Model Model::read_from_file(const std::string& input_file, DynamicPrintConfig* c
|
||||||
result = obj_import_face_color_deal(face_filament_ids, first_extruder_id, &model);
|
result = obj_import_face_color_deal(face_filament_ids, first_extruder_id, &model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (obj_info.has_uv_png && obj_info.uvs.size() > 0) {
|
} /*else if (obj_info.has_uv_png && obj_info.uvs.size() > 0) {
|
||||||
boost::filesystem::path full_path(input_file);
|
boost::filesystem::path full_path(input_file);
|
||||||
std::string obj_directory = full_path.parent_path().string();
|
std::string obj_directory = full_path.parent_path().string();
|
||||||
obj_info.obj_dircetory = obj_directory;
|
obj_info.obj_dircetory = obj_directory;
|
||||||
result = false;
|
result = false;
|
||||||
message = _L("Importing obj with png function is developing.");
|
message = _L("Importing obj with png function is developing.");
|
||||||
} else {
|
}*/
|
||||||
result = false;
|
|
||||||
message = _L("Importing obj occurred an unknown error.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (boost::algorithm::iends_with(input_file, ".svg"))
|
else if (boost::algorithm::iends_with(input_file, ".svg"))
|
||||||
|
|
Loading…
Reference in New Issue