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