Dynamic Paint:
authorMiika Hamalainen <blender@miikah.org>
Fri, 27 Jan 2012 17:44:56 +0000 (17:44 +0000)
committerMiika Hamalainen <blender@miikah.org>
Fri, 27 Jan 2012 17:44:56 +0000 (17:44 +0000)
* Fix: Brush didn't paint particles that were hidden by the display percentage setting.

source/blender/blenkernel/intern/dynamicpaint.c

index 501b97bd9be3d8360dd5be37c5f31de9dd48feef..cdfd5d3562bd46b61923e2e9d55abc77e340427e 100644 (file)
@@ -3552,7 +3552,7 @@ static int dynamicPaint_paintParticles(DynamicPaintSurface *surface,
                /* Proceed only if particle is active   */
                if(pa->alive == PARS_UNBORN && (part->flag & PART_UNBORN)==0) continue;                                                                 
                else if(pa->alive == PARS_DEAD && (part->flag & PART_DIED)==0) continue;                                                                        
-               else if(pa->flag & PARS_NO_DISP || pa->flag & PARS_UNEXIST) continue;
+               else if(pa->flag & PARS_UNEXIST) continue;
 
                /*      for debug purposes check if any NAN particle proceeds
                *       For some reason they get past activity check, this should rule most of them out */