Bugfix: "Hide" button in modifiers panel did only hide smoke domain, not the smoke.
Reported by nudelZ
This commit is contained in:
parent
744aaa955f
commit
9d078f2916
@ -7512,7 +7512,7 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short
|
||||
}
|
||||
|
||||
/* draw code for smoke */
|
||||
if ((md = modifiers_findByType(ob, eModifierType_Smoke))) {
|
||||
if ((md = modifiers_findByType(ob, eModifierType_Smoke)) && (modifier_isEnabled(scene, md, eModifierMode_Realtime))) {
|
||||
SmokeModifierData *smd = (SmokeModifierData *)md;
|
||||
|
||||
// draw collision objects
|
||||
|
Loading…
Reference in New Issue
Block a user