FIX:revert offset when exit ObjColorDialog

jira: github 6344
Change-Id: Ia574876aa24fde7c7b958b02d928d1aef6f0633f
(cherry picked from commit b852a7113f8926043cd7c49691b5b96768de1b32)
This commit is contained in:
zhou.xu
2025-04-17 09:36:48 +08:00
committed by Noisyfox
parent f5314b2ae1
commit 5e0e0a7e7d
3 changed files with 16 additions and 6 deletions

View File

@@ -5821,7 +5821,8 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
int model_idx = 0;
for (ModelObject *model_object : model.objects) {
if (!type_3mf && !type_any_amf) model_object->center_around_origin(false);
if (!type_3mf && !type_any_amf)
model_object->center_around_origin(false);
// BBS
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ":" << __LINE__ << boost::format("import 3mf IMPORT_LOAD_MODEL_OBJECTS \n");