瀏覽代碼

Merge pull request #5829 from 29jm/master

Fix the rotation not updating in the inspector with Controls
Rémi Verschelde 9 年之前
父節點
當前提交
40d78c2144
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scene/gui/control.cpp

+ 1 - 0
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{