From 50be65bf4314d9b3c5888f5f02d6ffae504aae7a Mon Sep 17 00:00:00 2001 From: qarmin Date: Sun, 22 Sep 2019 18:45:08 +0200 Subject: Changed some code found by Clang Tidy and Coverity --- modules/assimp/editor_scene_importer_assimp.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/assimp/editor_scene_importer_assimp.cpp') diff --git a/modules/assimp/editor_scene_importer_assimp.cpp b/modules/assimp/editor_scene_importer_assimp.cpp index 6a95d355eb..f2f51d9dd3 100644 --- a/modules/assimp/editor_scene_importer_assimp.cpp +++ b/modules/assimp/editor_scene_importer_assimp.cpp @@ -1280,7 +1280,6 @@ void EditorSceneImporterAssimp::create_bone(ImportState &state, RecursiveState & // this transform is a bone recursive_state.skeleton->add_bone(recursive_state.node_name); - ERR_FAIL_COND(recursive_state.skeleton == NULL); // serious bug we must now exit. //ERR_FAIL_COND(recursive_state.skeleton->get_name() == ""); print_verbose("Bone added to lookup: " + AssimpUtils::get_assimp_string(recursive_state.bone->mName)); print_verbose("Skeleton attached to: " + recursive_state.skeleton->get_name()); -- cgit v1.2.3