Move object on bed - fix issue 36
This commit is contained in:
parent
3bd557b177
commit
9dda5a84d5
@ -628,12 +628,8 @@ void priv::update_volume(TriangleMesh &&mesh,
|
||||
canvas->update_instance_printable_state_for_object((size_t) object_idx);
|
||||
|
||||
// Move object on bed
|
||||
if (GLGizmoEmboss::is_text_object(volume)) {
|
||||
// Must be called after because GLVolume is invalidated by new_unique_id
|
||||
plater->CallAfter([object_idx]() {
|
||||
wxGetApp().plater()->canvas3D()->ensure_on_bed(object_idx, false);
|
||||
});
|
||||
}
|
||||
if (GLGizmoEmboss::is_text_object(volume))
|
||||
volume->get_object()->ensure_on_bed();
|
||||
|
||||
// redraw scene
|
||||
bool refresh_immediately = false;
|
||||
|
Loading…
Reference in New Issue
Block a user