Fix bug #22828, "Exporting as COLLADA crashes Blender".

This commit is contained in:
2010-08-09 18:15:50 +00:00
parent acfead3d15
commit f9acf1b455

View File

@@ -1774,6 +1774,7 @@ public:
for (int a = 0; a < MAX_MTEX; a++) {
if (ma->mtex[a] &&
ma->mtex[a]->tex &&
ma->mtex[a]->tex->type == TEX_IMAGE &&
ma->mtex[a]->texco == TEXCO_UV){
indices.push_back(a);