Apply [#27477] COLLADA export support for textures mapped to COLSPEC
Patch provided by Pelle Johnsen
This commit is contained in:
parent
899f2776db
commit
05b54bec3b
@ -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) {
|
||||
if (t->mapto & MAP_COL | MAP_COLSPEC) {
|
||||
ep.setDiffuse(createTexture(ima, uvname, sampler));
|
||||
}
|
||||
// ambient
|
||||
|
Loading…
Reference in New Issue
Block a user