mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 02:06:03 +08:00
FIX:lost some field when upgrading obj before
jira: STUDIO-12332 Change-Id: Ie5816cd7f118596aa8b4702e044821e3148f840d
This commit is contained in:
parent
125fd77f59
commit
ff11431b6c
@ -287,6 +287,9 @@ Model Model::read_from_file(const std::string&
|
||||
ObjDialogInOut in_out;
|
||||
in_out.model = &model;
|
||||
in_out.lost_material_name = obj_info.lost_material_name;
|
||||
in_out.ml_region = obj_info.ml_region;
|
||||
in_out.ml_name = obj_info.ml_name;
|
||||
in_out.ml_id = obj_info.ml_id;
|
||||
if (obj_info.vertex_colors.size() > 0) {
|
||||
if (objFn) { // 1.result is ok and pop up a dialog
|
||||
in_out.input_colors = std::move(obj_info.vertex_colors);
|
||||
|
Loading…
x
Reference in New Issue
Block a user