Not a show stopper, and does not add or remove any functionality
authorChris Want <cwant@ualberta.ca>
Tue, 24 Jan 2006 17:23:01 +0000 (17:23 +0000)
committerChris Want <cwant@ualberta.ca>
Tue, 24 Jan 2006 17:23:01 +0000 (17:23 +0000)
... but a pythoner forgot to do a cast, causing an error with an
anally retentive compiler.

source/blender/python/api2_2x/NMesh.c

index 1fc0bff2af269ab5223cf6dd1107a8286c472299..293b9a2f3f49a4f0f5fb14b2b9efcf56b3ab15ce 100644 (file)
@@ -1508,7 +1508,7 @@ static PyObject *NMesh_getVertexInfluences( PyObject * self, PyObject * args )
 
                /* Build the list only with weights and names of the influent bones */
                for( i = 0; i < totinfluences; i++, sweight++ ) {
-                       bDeformGroup *defgroup = BLI_findlink( &object->defbase,
+                       bDeformGroup *defgroup = (bDeformGroup *) BLI_findlink( &object->defbase,
                                        sweight->def_nr );
                        if( defgroup )
                                PyList_Append( influence_list, Py_BuildValue( "[sf]",