forked from bartvdbraak/blender
Fix T37869: vertex paint + wireframe draw mode + smoke domain did not draw correct.
This commit is contained in:
parent
19c0c7992a
commit
e7ac87a254
@ -535,8 +535,9 @@ void draw_smoke_volume(SmokeDomainSettings *sds, Object *ob,
|
|||||||
|
|
||||||
if (gl_depth) {
|
if (gl_depth) {
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
glDepthMask(GL_TRUE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
glDepthMask(GL_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SMOKE_DEBUG_VELOCITY
|
#ifdef SMOKE_DEBUG_VELOCITY
|
||||||
|
@ -105,7 +105,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
|
|||||||
{
|
{
|
||||||
SmokeModifierData *smd = (SmokeModifierData *) md;
|
SmokeModifierData *smd = (SmokeModifierData *) md;
|
||||||
|
|
||||||
if(flag & MOD_APPLY_ORCO)
|
if (flag & MOD_APPLY_ORCO)
|
||||||
return dm;
|
return dm;
|
||||||
|
|
||||||
return smokeModifier_do(smd, md->scene, ob, dm);
|
return smokeModifier_do(smd, md->scene, ob, dm);
|
||||||
|
Loading…
Reference in New Issue
Block a user