updating obj tool when using gizmos

This commit is contained in:
T1ti
2023-07-05 09:28:37 +02:00
parent c635ea81fc
commit 66f1c06865

View File

@@ -300,8 +300,17 @@ void ViewportGizmo::handleTransformGizmo(MapView* map_view
throw std::logic_error("Bounds are not supported by this gizmo.");
}
}
obj_instance->normalizeDirection();
obj_instance->recalcExtents();
if (map_view)
{
map_view->updateRotationEditor();
}
if (_world)
_world->updateTilesEntry(selected, model_update::add);
}