Merge pull request #5829 from 29jm/master

Fix the rotation not updating in the inspector with Controls
This commit is contained in:
Rémi Verschelde 2016-07-21 09:09:58 +02:00 committed by GitHub
commit 40d78c2144
1 changed files with 1 additions and 0 deletions

View File

@ -2262,6 +2262,7 @@ void Control::set_rotation(float p_radians) {
data.rotation=p_radians; data.rotation=p_radians;
update(); update();
_notify_transform(); _notify_transform();
_change_notify("rect/rotation");
} }
float Control::get_rotation() const{ float Control::get_rotation() const{