Godot Engine – Multi-platform 2D and 3D game engine
Fix temporary pivot centering triggering on every tool switch
Michael Alexsanderd7c3bac5c409
diff --git a/scene/debugger/canvas_item_manipulator.cpp b/scene/debugger/canvas_item_manipulator.cppindex 40a0c707471..0194b120f6e 100644--- a/scene/debugger/canvas_item_manipulator.cpp+++ b/scene/debugger/canvas_item_manipulator.cpp@@ -2294,10 +2294,6 @@ void CanvasItemManipulator::set_tool(Tool p_tool) {#endiftool = p_tool;--#ifdef TOOLS_ENABLED- center_temp_pivot_on_selection();-#endif}void CanvasItemManipulator::set_callbacks(const Callable &p_find_items_start, const Callable &p_point_selected, const Callable &p_get_selection, const Callable &p_local_xform, const Callable &p_global_xform, const Callable &p_local_mouse_pos, const Callable &p_plugin_input) {