You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix issues with scaling Node3Ds
This commit is contained in:
@@ -1831,6 +1831,8 @@ void Node3DEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
||||
motion = Vector3(scale, scale, scale);
|
||||
}
|
||||
|
||||
motion /= click.distance_to(_edit.center);
|
||||
|
||||
// Disable local transformation for TRANSFORM_VIEW
|
||||
bool local_coords = (spatial_editor->are_local_coords_enabled() && _edit.plane != TRANSFORM_VIEW);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user