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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-01 21:31:01 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-01 21:31:01 +0400
commit0d1aa8d7bfc83162dc14616e4d588939d9361ba1 (patch)
tree6c6b2f6ece9cd8978fc08ce1eaa796b5cd695df7 /source/blender/src/drawobject.c
parent31adad5b4d8dd7728a1a4d21ede7b34e6ff01a89 (diff)
Fix for bug #10144: "set editable" on a disabled particle system
could cause crashes. Fix related to bug #10198: particle mode didn't respect undo steps set to 0. Also made the memory statistics print (ctrl+alt+shift+q) use the more human readable form to give an overview, instead of printing out a python script.
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 808320bb9de..aec0e112b32 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -3474,6 +3474,8 @@ static void draw_particle_edit(Object *ob, ParticleSystem *psys)
PE_hide_keys_time(psys,CFRA);
psys_cache_paths(ob,psys,CFRA,0);
}
+ if(psys->pathcache==0)
+ return;
if(pset->flag & PE_SHOW_CHILD && psys->part->draw_as == PART_DRAW_PATH) {
if(psys->childcache==0)