diff options
author | Arystanbek Dyussenov <arystan.d@gmail.com> | 2010-08-09 22:15:50 +0400 |
---|---|---|
committer | Arystanbek Dyussenov <arystan.d@gmail.com> | 2010-08-09 22:15:50 +0400 |
commit | f9acf1b455872913df50287c331d7396140f8d82 (patch) | |
tree | 5360af7012097cc02368732e6b27280aa9c5a79f /source/blender/collada/DocumentExporter.cpp | |
parent | acfead3d15c68f83288e6c1ceec908ce5cc34872 (diff) |
Fix bug #22828, "Exporting as COLLADA crashes Blender".
Diffstat (limited to 'source/blender/collada/DocumentExporter.cpp')
-rw-r--r-- | source/blender/collada/DocumentExporter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index 7a994d6b418..d77cd02f9e1 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -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); |