diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-07 19:05:55 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-07 19:05:55 +0300 |
commit | 637ffd1dfb4e6b3092ce935961cbe490b574af62 (patch) | |
tree | 67a321a9552335c8c9015a31622a73171fbe6c9f /source/blender/editors/space_view3d | |
parent | fd969911c5b32b46950a8a79ea1d63e6a1bc10fc (diff) |
2.5
More globals discovered; lattice deform stored static
deform array and a matrix. Tsk!
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index ccd6e52f577..dfb4e0dea55 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -3480,8 +3480,8 @@ static void draw_new_particle_system(Scene *scene, View3D *v3d, Base *base, Part psys->flag &= ~PSYS_DRAWING; if(psys->lattice){ - end_latt_deform(); - psys->lattice=0; + end_latt_deform(psys->lattice); + psys->lattice= NULL; } wmLoadMatrix(v3d->viewmat); |