[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22207] branches/soc-2009-chingachgook/ source/blender/collada/DocumentExporter.cpp: Export only that textures which input is UV.
Chingiz Dyussenov
chingiz.ds at gmail.com
Tue Aug 4 08:40:02 CEST 2009
Revision: 22207
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22207
Author: chingachgook
Date: 2009-08-04 08:40:02 +0200 (Tue, 04 Aug 2009)
Log Message:
-----------
Export only that textures which input is UV.
Modified Paths:
--------------
branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp
Modified: branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp
===================================================================
--- branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2009-08-04 05:34:21 UTC (rev 22206)
+++ branches/soc-2009-chingachgook/source/blender/collada/DocumentExporter.cpp 2009-08-04 06:40:02 UTC (rev 22207)
@@ -1504,7 +1504,9 @@
indices.clear();
for (int a = 0; a < MAX_MTEX; a++) {
- if (ma->mtex[a] && ma->mtex[a]->tex->type == TEX_IMAGE){
+ if (ma->mtex[a] &&
+ ma->mtex[a]->tex->type == TEX_IMAGE &&
+ ma->mtex[a]->texco == TEXCO_UV){
indices.push_back(a);
}
}
More information about the Bf-blender-cvs
mailing list