Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2008-04-08 20:50:20 +0400
committerStephen Swaney <sswaney@centurytel.net>2008-04-08 20:50:20 +0400
commitdaeedc11444bae393a7b653bf75400c2865dfe0a (patch)
tree8524f92e246e204e1132fd1f19de588967e81227 /source/blender/src/buttons_object.c
parent61bbccaee7ed33d8c9ee22efd6a0aeea59d51a01 (diff)
fix compiler warnings - deja vu all over again.
buttons_object.c:2326: warning: too many arguments for format buttonns_object.c:3829: warning: ordered comparison of pointer with integer zero
Diffstat (limited to 'source/blender/src/buttons_object.c')
-rw-r--r--source/blender/src/buttons_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index d867cec1c89..bd0c59dc6e8 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -2323,7 +2323,7 @@ void do_object_panels(unsigned short event)
BLI_addtail(&ob->particlesystem,psys);
md= modifier_new(eModifierType_ParticleSystem);
- sprintf(md->name, "FluidParticleSystem", BLI_countlist(&ob->particlesystem));
+ sprintf(md->name, "FluidParticleSystem" );
psmd= (ParticleSystemModifierData*) md;
psmd->psys=psys;
BLI_addtail(&ob->modifiers, md);
@@ -3826,7 +3826,7 @@ static void sb_clear_cache(void *ob_v, void *actsoft_v)
Object *ob = ob_v;
short *actsoft = actsoft_v;
- if(actsoft >= 0)
+ if(actsoft)
clear_particles_from_cache(ob, BLI_findlink(&ob->particlesystem, *actsoft), CFRA);
else
softbody_clear_cache(ob, CFRA);