summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-21 09:09:58 +0200
committerGitHub <noreply@github.com>2016-07-21 09:09:58 +0200
commit40d78c214404652d8ea8ab701f2473d6b4010b78 (patch)
treecfbf56b3ba119f8ac2318b47b367830b008bc2dc
parent5274f2a1262b68692e6010e2dc48c56c549f235f (diff)
parentfc4ace312013216360f544e06e50cdc0dab4e45a (diff)
Merge pull request #5829 from 29jm/master
Fix the rotation not updating in the inspector with Controls
-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{