summaryrefslogtreecommitdiff
path: root/editor/collada
diff options
context:
space:
mode:
Diffstat (limited to 'editor/collada')
-rw-r--r--editor/collada/collada.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/collada/collada.cpp b/editor/collada/collada.cpp
index 4ce57d7f63..734229d014 100644
--- a/editor/collada/collada.cpp
+++ b/editor/collada/collada.cpp
@@ -2266,10 +2266,8 @@ void Collada::_merge_skeletons2(VisualScene *p_vscene) {
}
node = node->parent;
}
- ERR_CONTINUE(!sk);
- if (!sk)
- continue; //bleh
+ ERR_CONTINUE(!sk);
if (!skeleton) {
skeleton = sk;