summaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-07-06 17:42:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-07-06 17:42:44 -0300
commitbd9d98c172bd4e9aab962f8df675120bf9f7b085 (patch)
tree8f4d7a8b054f8a4afaf249228a5de4575c9733dd /editor/plugins/canvas_item_editor_plugin.h
parentfd9b4ba6e6ce42080c728a11031a12f90cfbfb1d (diff)
Ability to set rotation and scaling pivot for controls.
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.h')
-rw-r--r--editor/plugins/canvas_item_editor_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.h b/editor/plugins/canvas_item_editor_plugin.h
index 22fa5b5db8..702deb51f9 100644
--- a/editor/plugins/canvas_item_editor_plugin.h
+++ b/editor/plugins/canvas_item_editor_plugin.h
@@ -56,6 +56,7 @@ public:
Transform2D prev_xform;
float prev_rot;
Rect2 prev_rect;
+ Vector2 prev_pivot;
CanvasItemEditorSelectedItem() { prev_rot = 0; }
};