forked from bartvdbraak/blender
Not a show stopper, and does not add or remove any functionality
... but a pythoner forgot to do a cast, causing an error with an anally retentive compiler.
This commit is contained in:
parent
58db0210a8
commit
164a7929ce
@ -1508,7 +1508,7 @@ static PyObject *NMesh_getVertexInfluences( PyObject * self, PyObject * args )
|
|||||||
|
|
||||||
/* Build the list only with weights and names of the influent bones */
|
/* Build the list only with weights and names of the influent bones */
|
||||||
for( i = 0; i < totinfluences; i++, sweight++ ) {
|
for( i = 0; i < totinfluences; i++, sweight++ ) {
|
||||||
bDeformGroup *defgroup = BLI_findlink( &object->defbase,
|
bDeformGroup *defgroup = (bDeformGroup *) BLI_findlink( &object->defbase,
|
||||||
sweight->def_nr );
|
sweight->def_nr );
|
||||||
if( defgroup )
|
if( defgroup )
|
||||||
PyList_Append( influence_list, Py_BuildValue( "[sf]",
|
PyList_Append( influence_list, Py_BuildValue( "[sf]",
|
||||||
|
Loading…
Reference in New Issue
Block a user