[Bf-blender-cvs] [0a633dc] fluid-mantaflow: disable high resolution liquid for now. high res loop in manta script needs some more work.
Sebastián Barschkis
noreply at git.blender.org
Fri Aug 12 12:46:54 CEST 2016
Commit: 0a633dc1707bb1f20ed39414b270be4022ea291c
Author: Sebastián Barschkis
Date: Fri Aug 12 12:45:17 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB0a633dc1707bb1f20ed39414b270be4022ea291c
disable high resolution liquid for now. high res loop in manta script needs some more work.
===================================================================
M release/scripts/startup/bl_ui/properties_physics_smoke.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py
index 4861bfb..0c84412 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -265,22 +265,23 @@ class PHYSICS_PT_smoke_highres(PhysicButtonsPanel, Panel):
split = layout.split()
- col = split.column()
- col.prop(domain, "use_high_resolution", text="High resolution")
- sub = col.column()
- sub.active = domain.use_high_resolution
- sub.prop(domain, "amplify", text="Divisions")
- sub.label(text="Flow Sampling:")
- sub.row().prop(domain, "highres_sampling", text="")
- sub.prop(domain, "show_high_resolution")
-
- sub = split.column()
- sub.active = domain.use_high_resolution and domain.smoke_domain_type == 'GAS'
- sub.label(text="Noise Method:")
- sub.row().prop(domain, "noise_type", text="")
- sub.prop(domain, "strength")
- sub.prop(domain, "noise_pos_scale")
- sub.prop(domain, "noise_time_anim")
+ if domain.smoke_domain_type == 'GAS':
+ col = split.column()
+ col.prop(domain, "use_high_resolution", text="High resolution")
+ sub = col.column()
+ sub.active = domain.use_high_resolution
+ sub.prop(domain, "amplify", text="Divisions")
+ sub.label(text="Flow Sampling:")
+ sub.row().prop(domain, "highres_sampling", text="")
+ sub.prop(domain, "show_high_resolution")
+
+ sub = split.column()
+ sub.active = domain.use_high_resolution
+ sub.label(text="Noise Method:")
+ sub.row().prop(domain, "noise_type", text="")
+ sub.prop(domain, "strength")
+ sub.prop(domain, "noise_pos_scale")
+ sub.prop(domain, "noise_time_anim")
class PHYSICS_PT_smoke_groups(PhysicButtonsPanel, Panel):
bl_label = "Fluid Groups"
More information about the Bf-blender-cvs
mailing list