updating obj tool when using gizmos
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user