FIX:cancel obj import restrictions

jira: none
Change-Id: Iaf3e799ca982ad6aeb3ec76e9a416c4c8e4d100c
This commit is contained in:
zhou.xu 2024-04-23 21:10:47 +08:00 committed by Lane.Wei
parent fa71471920
commit 3fa678d42e
1 changed files with 2 additions and 5 deletions

View File

@ -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);
}
}
} 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);
std::string obj_directory = full_path.parent_path().string();
obj_info.obj_dircetory = obj_directory;
result = false;
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"))