Particles

=========

- Fix for bug #7840: adding particle system to nurbs, curves crashes.
  Now simply doesn't allow to add a particle system to a non-mesh
  object, the current code does not support it.
- Fix for bug #7834: deleting vertices of an object with a particle
  system crashes. Fixed by disabling particle display for objects in
  editmode.
- Fix for the particle add brush on subsurfed objects.
This commit is contained in:
2007-11-27 11:17:52 +00:00
parent e39b5f790d
commit 01e2395e05
6 changed files with 15 additions and 9 deletions

View File

@@ -5038,7 +5038,7 @@ void draw_object(Base *base, int flag)
if(ob->pd && ob->pd->forcefield) draw_forcefield(ob);
/* code for new particle system */
if(warning_recursive==0 && (flag & DRAW_PICKING)==0){
if(warning_recursive==0 && (flag & DRAW_PICKING)==0 && ob!=G.obedit){
glDepthMask(GL_FALSE);
if(col || (ob->flag & SELECT)) cpack(0xFFFFFF); /* for visibility, also while wpaint */
if(ob->particlesystem.first) {