소스 검색

Merge pull request #40156 from Xrayez/fix-resource-create-crash

Fix editor crash when creating a custom resource from create dialog
Rémi Verschelde 5 년 전
부모
커밋
b43fb407b1
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      editor/create_dialog.cpp

+ 0 - 1
editor/create_dialog.cpp

@@ -425,7 +425,6 @@ Object *CreateDialog::instance_selected() {
 			if (n) {
 				n->set_name(custom);
 			}
-			obj = n;
 		} else {
 			obj = EditorNode::get_editor_data().instance_custom_type(selected->get_text(0), custom);
 		}