Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/collada/MaterialExporter.cpp')
-rw-r--r--source/blender/collada/MaterialExporter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/collada/MaterialExporter.cpp b/source/blender/collada/MaterialExporter.cpp
index 8bf7a220c4a..9b16d44d67f 100644
--- a/source/blender/collada/MaterialExporter.cpp
+++ b/source/blender/collada/MaterialExporter.cpp
@@ -52,8 +52,9 @@ bool MaterialsExporter::hasMaterials(Scene *sce)
Material *ma = give_current_material(ob, a + 1);
// no material, but check all of the slots
- if (!ma)
+ if (!ma) {
continue;
+ }
return true;
}