[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14784] trunk/blender/source/blender/ python/api2_2x/Object.c: fix compiler warnings.
Stephen Swaney
sswaney at centurytel.net
Sun May 11 08:11:26 CEST 2008
Revision: 14784
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14784
Author: stiv
Date: 2008-05-11 08:11:23 +0200 (Sun, 11 May 2008)
Log Message:
-----------
fix compiler warnings.
tsk tsk - implicit declaration of functions.
Modified Paths:
--------------
trunk/blender/source/blender/python/api2_2x/Object.c
Modified: trunk/blender/source/blender/python/api2_2x/Object.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Object.c 2008-05-11 04:15:21 UTC (rev 14783)
+++ trunk/blender/source/blender/python/api2_2x/Object.c 2008-05-11 06:11:23 UTC (rev 14784)
@@ -68,6 +68,8 @@
#include "BKE_object.h"
#include "BKE_key.h" /* for setting the activeShape */
#include "BKE_displist.h"
+#include "BKE_pointcache.h"
+#include "BKE_particle.h"
#include "BSE_editipo.h"
#include "BSE_edit.h"
@@ -1046,10 +1048,11 @@
if (!blparticlesys)
return partsyslist;
+/* fixme: for(;;) */
current = ParticleSys_CreatePyObject( blparticlesys, ob );
PyList_Append(partsyslist,current);
- while(blparticlesys = blparticlesys->next){
+ while((blparticlesys = blparticlesys->next)){
current = ParticleSys_CreatePyObject( blparticlesys, ob );
PyList_Append(partsyslist,current);
}
@@ -1063,7 +1066,7 @@
ModifierData *md;
ParticleSystemModifierData *psmd;
Object *ob = self->object;
- char *name = NULL;
+/* char *name = NULL; optional name param */
ID *id;
int nr;
More information about the Bf-blender-cvs
mailing list