summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorJohan Manuel <johan.manuel@live.fr>2016-07-21 00:26:36 +0200
committerJohan Manuel <johan.manuel@live.fr>2016-07-21 00:26:36 +0200
commitfc4ace312013216360f544e06e50cdc0dab4e45a (patch)
treeacd1f1b199fda19e6dcc6222d59b88330052d3a6 /scene/gui
parent79a7473cac40049769121a3a619b0d1e08899353 (diff)
Fix the rotation not updating in the inspector with Controls
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/control.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index c176e50cee..c08e10b9ff 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -2262,6 +2262,7 @@ void Control::set_rotation(float p_radians) {
data.rotation=p_radians;
update();
_notify_transform();
+ _change_notify("rect/rotation");
}
float Control::get_rotation() const{