summaryrefslogtreecommitdiff
path: root/editor/collada
diff options
context:
space:
mode:
Diffstat (limited to 'editor/collada')
-rw-r--r--editor/collada/collada.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/collada/collada.cpp b/editor/collada/collada.cpp
index 94a37a3118..e9040b9d3e 100644
--- a/editor/collada/collada.cpp
+++ b/editor/collada/collada.cpp
@@ -2256,8 +2256,7 @@ void Collada::_merge_skeletons2(VisualScene *p_vscene) {
Node *node = state.scene_map[name];
ERR_CONTINUE(node->type != Node::TYPE_JOINT);
- if (node->type != Node::TYPE_JOINT)
- continue;
+
NodeSkeleton *sk = NULL;
while (node && !sk) {