Revision: 15086
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15086
Author: campbellbarton
Date: 2008-06-02 18:29:48 +0200 (Mon, 02 Jun 2008)
Log Message:
-----------
bugfix, one texture was placed in the list twice
Modified Paths:
--------------
branches/apricot/source/blender/python/api2_2x/Material.c
Modified: branches/apricot/source/blender/python/api2_2x/Material.c
===================================================================
--- branches/apricot/source/blender/python/api2_2x/Material.c 2008-06-02
02:54:33 UTC (rev 15085)
+++ branches/apricot/source/blender/python/api2_2x/Material.c 2008-06-02
16:29:48 UTC (rev 15086)
@@ -1714,7 +1714,7 @@
}
/* turn the array into a tuple */
- tuple = Py_BuildValue( "NNNNNNNNNNNNNNNNNN", t[0], t[1], t[2], t[3],
t[4], t[5], t[6], t[7], t[8], t[9], t[10], t[11], t[11], t[12], t[13], t[14],
t[15], t[16], t[17] );
+ tuple = Py_BuildValue( "NNNNNNNNNNNNNNNNNN", t[0], t[1], t[2], t[3],
t[4], t[5], t[6], t[7], t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15],
t[16], t[17] );
if( !tuple )
return EXPP_ReturnPyObjError( PyExc_MemoryError,
"Material_getTextures: couldn't
create PyTuple" );
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs