incorrectly had CMake storing directory names as filepaths
[blender-staging.git] / source / blender / collada / EffectExporter.cpp
index 0bbf714137e9da64c92b3992b8b6d8f5948c4800..74756859d3b92a58c1247c04aa95f87b36cf1f6b 100644 (file)
@@ -273,7 +273,7 @@ void EffectsExporter::operator()(Material *ma, Object *ob)
                std::string uvname = strlen(t->uvname) ? t->uvname : active_uv;
 
                // color
-               if (t->mapto & MAP_COL | MAP_COLSPEC) {
+               if (t->mapto & (MAP_COL | MAP_COLSPEC)) {
                        ep.setDiffuse(createTexture(ima, uvname, sampler));
                }
                // ambient