aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/animation_blend_space_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2018-06-21 18:46:17 -0300
committerJuan Linietsky2018-06-21 18:46:17 -0300
commitb76143bfdee9ff0c21e1aac247567d2381dffa4d (patch)
treecc52843c767b62c61187e4f059a510e76bff75f3 /editor/plugins/animation_blend_space_editor.cpp
parentb80946ee0dbb7c28021c55d2623a35e89fc972f4 (diff)
downloadgodot-b76143bfdee9ff0c21e1aac247567d2381dffa4d.tar.gz
godot-b76143bfdee9ff0c21e1aac247567d2381dffa4d.tar.zst
godot-b76143bfdee9ff0c21e1aac247567d2381dffa4d.zip
Diffstat (limited to 'editor/plugins/animation_blend_space_editor.cpp')
-rw-r--r--editor/plugins/animation_blend_space_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_blend_space_editor.cpp b/editor/plugins/animation_blend_space_editor.cpp
index 9172d3a85..f2a68296c 100644
--- a/editor/plugins/animation_blend_space_editor.cpp
+++ b/editor/plugins/animation_blend_space_editor.cpp
@@ -243,7 +243,7 @@ void AnimationNodeBlendSpaceEditor::_blend_space_gui_input(const Ref<InputEvent>
void AnimationNodeBlendSpaceEditor::_add_menu_type(int p_index) {
String type = menu->get_item_metadata(p_index);
- print_line("type: " + type);
+
Object *obj = ClassDB::instance(type);
ERR_FAIL_COND(!obj);
AnimationNode *an = Object::cast_to<AnimationNode>(obj);