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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user