diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2010-01-25 18:24:48 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2010-01-25 18:24:48 +0300 |
commit | 673b7030ee4db1e195f4377370f771d560428d81 (patch) | |
tree | 863974eb2b07130f61582caddf05ff4da3c7c6c2 /release/scripts | |
parent | 83dfade37a746043dfc8d38f57514706d8505352 (diff) |
Smoke:
* UI updates for my last commit by nudelZ
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/ui/properties_physics_smoke.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/release/scripts/ui/properties_physics_smoke.py b/release/scripts/ui/properties_physics_smoke.py index b7ad29ba80a..2fd1617316a 100644 --- a/release/scripts/ui/properties_physics_smoke.py +++ b/release/scripts/ui/properties_physics_smoke.py @@ -80,13 +80,14 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel): col = split.column() col.label(text="Resolution:") col.prop(domain, "maxres", text="Divisions") + col.label(text="Particle:") + col.prop(domain, "initial_velocity", text="Initial Velocity") if wide_ui: col = split.column() col.label(text="Behavior:") col.prop(domain, "alpha") col.prop(domain, "beta") - col.prop(domain, "initial_velocity", text="Initial Velocity") col.prop(domain, "dissolve_smoke", text="Dissolve") sub = col.column() sub.active = domain.dissolve_smoke @@ -156,11 +157,12 @@ class PHYSICS_PT_smoke_cache(PhysicButtonsPanel): return md and (md.smoke_type == 'TYPE_DOMAIN') def draw(self, context): + layout = self.layout domain = context.smoke.domain_settings - self.layout.prop(domain, "smoke_cache_comp") - + layout.label(text="Compression:") + layout.prop(domain, "smoke_cache_comp", expand=True) md = context.smoke.domain_settings cache = md.point_cache_low @@ -210,11 +212,12 @@ class PHYSICS_PT_smoke_cache_highres(PhysicButtonsPanel): return md and (md.smoke_type == 'TYPE_DOMAIN') and md.domain_settings.highres def draw(self, context): - + layout = self.layout domain = context.smoke.domain_settings - self.layout.prop(domain, "smoke_cache_high_comp") + layout.label(text="Compression:") + layout.prop(domain, "smoke_cache_high_comp", expand=True) md = context.smoke.domain_settings |