You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Core: Integrate Ref::instantiate where possible
This commit is contained in:
@@ -1265,7 +1265,7 @@ AnimationNodeBlendTreeEditor::AnimationNodeBlendTreeEditor() {
|
||||
open_file->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILE);
|
||||
open_file->connect("file_selected", callable_mp(this, &AnimationNodeBlendTreeEditor::_file_opened));
|
||||
|
||||
animation_node_inspector_plugin = Ref<EditorInspectorPluginAnimationNodeAnimation>(memnew(EditorInspectorPluginAnimationNodeAnimation));
|
||||
animation_node_inspector_plugin.instantiate();
|
||||
EditorInspector::add_inspector_plugin(animation_node_inspector_plugin);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user