瀏覽代碼

Fix array reorder methods not being bound

Lightning_A 4 年之前
父節點
當前提交
04fbe18c06
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      editor/editor_properties_array_dict.cpp

+ 3 - 0
editor/editor_properties_array_dict.cpp

@@ -573,6 +573,9 @@ void EditorPropertyArray::_bind_methods() {
 	ClassDB::bind_method("_change_type_menu", &EditorPropertyArray::_change_type_menu);
 	ClassDB::bind_method("_object_id_selected", &EditorPropertyArray::_object_id_selected);
 	ClassDB::bind_method("_remove_pressed", &EditorPropertyArray::_remove_pressed);
+	ClassDB::bind_method("_reorder_button_gui_input", &EditorPropertyArray::_reorder_button_gui_input);
+	ClassDB::bind_method("_reorder_button_down", &EditorPropertyArray::_reorder_button_down);
+	ClassDB::bind_method("_reorder_button_up", &EditorPropertyArray::_reorder_button_up);
 }
 
 EditorPropertyArray::EditorPropertyArray() {