소스 검색

PropertyEditor: Add missing MAKE_PROPSELECT.

Fixes #15745
Andreas Haas 7 년 전
부모
커밋
122837e73a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      editor/property_editor.cpp

+ 2 - 0
editor/property_editor.cpp

@@ -665,6 +665,8 @@ bool CustomPropertyEditor::edit(Object *p_owner, const String &p_name, Variant::
 
 			} else if (hint == PROPERTY_HINT_PROPERTY_OF_INSTANCE) {
 
+				MAKE_PROPSELECT
+
 				Object *instance = ObjectDB::get_instance(hint_text.to_int64());
 				if (instance)
 					property_select->select_property_from_instance(instance, v);