Bug fix #1937
In unified render, halos can give black/colored overflows. Found it this happens with halos that are behind the camera clipping range. Halo clip just had some weird code for panorama corrections... In the provided .blend of report found 3 more glitches; - after render particle system with Material Ipo, values for material were not restored correctly - Meshes with particles didn't draw axis (draw extra) on correct location - Same as above, axis didn't draw in selected color.
This commit is contained in:
@@ -2449,7 +2449,8 @@ static void draw_particle_system(Object *ob, PartEff *paf)
|
||||
}
|
||||
}
|
||||
if(paf->stype!=PAF_VECT) glEnd();
|
||||
|
||||
|
||||
mymultmatrix(ob->obmat); // bring back local matrix for dtx
|
||||
}
|
||||
|
||||
static void draw_static_particle_system(Object *ob, PartEff *paf)
|
||||
@@ -4248,7 +4249,7 @@ void draw_object(Base *base)
|
||||
if(col) cpack(0xFFFFFF); /* for visibility */
|
||||
if(paf->flag & PAF_STATIC) draw_static_particle_system(ob, paf);
|
||||
else draw_particle_system(ob, paf);
|
||||
cpack(col);
|
||||
if(col) cpack(col);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user