Godot Engine – Multi-platform 2D and 3D game engine
Fix canvas editor's local space toggle starting off but appearing on
Michael Alexsander87fe950b5710
diff --git a/editor/scene/canvas_item_editor_plugin.cpp b/editor/scene/canvas_item_editor_plugin.cppindex 637b63b8e38..e51d55a19ad 100644--- a/editor/scene/canvas_item_editor_plugin.cpp+++ b/editor/scene/canvas_item_editor_plugin.cpp@@ -4078,6 +4078,7 @@ CanvasItemEditor::CanvasItemEditor() {ci_manipulator.instantiate();ci_manipulator->set_editor_mode_enabled(true);+ ci_manipulator->set_local_space_enabled(true);ci_manipulator->set_scale(EDSCALE);// Enable pixel snapping even if pixel snap rendering is disabled in the Project Settings.// This results in crisper visuals by preventing 2D nodes from being placed at subpixel coordinates.