소스 검색

Fixes CollisionShape extends not updating when draggind handles

groud 6 년 전
부모
커밋
952f3004f1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/plugins/collision_shape_2d_editor_plugin.cpp

+ 1 - 0
editor/plugins/collision_shape_2d_editor_plugin.cpp

@@ -203,6 +203,7 @@ void CollisionShape2DEditor::set_handle(int idx, Point2 &p_point) {
 
 
 		} break;
 		} break;
 	}
 	}
+	node->get_shape()->_change_notify();
 }
 }
 
 
 void CollisionShape2DEditor::commit_handle(int idx, Variant &p_org) {
 void CollisionShape2DEditor::commit_handle(int idx, Variant &p_org) {