소스 검색

Merge pull request #5697 from TheHX/issue-5664

Fix Orphan StringName on EditorAutoloadSettings class
Rémi Verschelde 9 년 전
부모
커밋
3e2c7bf797
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 2
      tools/editor/editor_autoload_settings.cpp
  2. 1 1
      tools/editor/editor_autoload_settings.h

+ 0 - 2
tools/editor/editor_autoload_settings.cpp

@@ -36,8 +36,6 @@
 
 #define PREVIEW_LIST_MAX_SIZE 10
 
-StringName EditorAutoloadSettings::autoload_changed = StringName();
-
 void EditorAutoloadSettings::_notification(int p_what) {
 
 	if (p_what == NOTIFICATION_ENTER_TREE) {

+ 1 - 1
tools/editor/editor_autoload_settings.h

@@ -44,7 +44,7 @@ class EditorAutoloadSettings : public VBoxContainer {
 		BUTTON_DELETE
 	};
 
-	static StringName autoload_changed;
+	String autoload_changed;
 
 	struct AutoLoadInfo {
 		String name;