diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 0017fd0130a..93e652023cf 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -4014,6 +4014,9 @@ static void PE_create_particle_edit(Scene *scene, Object *ob, PointCache *cache, if(cache && cache->flag & PTCACHE_DISK_CACHE) return; + if(psys == NULL && cache->mem_cache.first == NULL) + return; + if(!edit) { totpoint = psys ? psys->totpart : ((PTCacheMem*)cache->mem_cache.first)->totpoint; |