mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fixed a crash when moving an object with wipe tower volume on screen
This commit is contained in:
parent
b23f7e5834
commit
cc27570704
1 changed files with 2 additions and 2 deletions
|
@ -6744,10 +6744,10 @@ void GLCanvas3D::_on_move()
|
||||||
if (done.find(done_id) != done.end())
|
if (done.find(done_id) != done.end())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
done.insert(done_id);
|
|
||||||
|
|
||||||
if (object_idx < 1000)
|
if (object_idx < 1000)
|
||||||
{
|
{
|
||||||
|
done.insert(done_id);
|
||||||
|
|
||||||
// Move instances.
|
// Move instances.
|
||||||
ModelObject* model_object = m_model->objects[object_idx];
|
ModelObject* model_object = m_model->objects[object_idx];
|
||||||
if (model_object != nullptr)
|
if (model_object != nullptr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue