diff options
author | LikeLakers2 <1008889+LikeLakers2@users.noreply.github.com> | 2019-07-04 16:33:30 -0400 |
---|---|---|
committer | LikeLakers2 <1008889+LikeLakers2@users.noreply.github.com> | 2019-07-04 16:36:24 -0400 |
commit | d2e915623a32a18e334acd03c6ad2a3347a4682c (patch) | |
tree | 072eb13f6cee01ff3e5cc660d42c3c5493ccdcfc | |
parent | 2293c612e6c0913b6999080c9f2fa77227348818 (diff) |
SceneTreeDock will reset the ScriptCreateDialog's inheritance base type
-rw-r--r-- | editor/scene_tree_dock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 442de08ffa..2458aa0759 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -439,6 +439,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) { } script_create_dialog->connect("script_created", this, "_script_created"); script_create_dialog->connect("popup_hide", this, "_script_creation_closed"); + script_create_dialog->set_inheritance_base_type("Node"); script_create_dialog->config(inherits, path); script_create_dialog->popup_centered(); |