You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix issues with scaling 3D Objects
When scaling 3D objects the distance form them is not considered. Allowing for finer contorl. Overscaled objects no longer break the gizmo.
This commit is contained in:
@@ -1612,6 +1612,8 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
||||
motion = Vector3(scale, scale, scale);
|
||||
}
|
||||
|
||||
motion /= click.distance_to(_edit.center);
|
||||
|
||||
List<Node *> &selection = editor_selection->get_selected_node_list();
|
||||
|
||||
// Disable local transformation for TRANSFORM_VIEW
|
||||
|
||||
Reference in New Issue
Block a user