diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2009-08-26 01:53:52 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2009-08-26 01:53:52 +0400 |
commit | 6a5773d4a8633374a1f54864c077a0cd5fa122ea (patch) | |
tree | 72454f9913ebf63c561f9c9e8ddefbb5190771c0 /release | |
parent | cfcd355c27ba1f923d04dec1f735989b260b190c (diff) |
Smoke:
* Deleting high res modifier again
* fixing smoke + continue physics drawing
* fixing cache reset when changing dissolve
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/buttons_physics_smoke.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/ui/buttons_physics_smoke.py b/release/ui/buttons_physics_smoke.py index 5e1ec227080..3cfba0f9df9 100644 --- a/release/ui/buttons_physics_smoke.py +++ b/release/ui/buttons_physics_smoke.py @@ -125,7 +125,7 @@ class PHYSICS_PT_smoke_cache(PhysicButtonsPanel): def poll(self, context): md = context.smoke if md: - return (md.smoke_type == 'TYPE_DOMAIN') + return (md.smoke_type == 'TYPE_DOMAIN') return False @@ -202,7 +202,7 @@ class PHYSICS_PT_smoke_highres(PhysicButtonsPanel): def draw(self, context): layout = self.layout - md = context.smoke_hr + md = context.smoke.domain_settings if md: @@ -223,12 +223,12 @@ class PHYSICS_PT_smoke_cache_highres(PhysicButtonsPanel): __default_closed__ = True def poll(self, context): - return (context.smoke_hr != None) + return (context.smoke != None) def draw(self, context): layout = self.layout - md = context.smoke_hr + md = context.smoke if md: |