[Bf-blender-cvs] [e62f964] soc-2014-fluid: unused manta UI disabled
Roman Pogribnyi
noreply at git.blender.org
Sat Oct 25 14:55:14 CEST 2014
Commit: e62f96480a7b8638429217f19c4cc4af928bbff7
Author: Roman Pogribnyi
Date: Sat Oct 25 14:54:54 2014 +0200
Branches: soc-2014-fluid
https://developer.blender.org/rBe62f96480a7b8638429217f19c4cc4af928bbff7
unused manta UI disabled
===================================================================
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 1080529..e288630 100644
--- a/release/scripts/startup/bl_ui/properties_physics_smoke.py
+++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py
@@ -204,13 +204,13 @@ class PHYSICS_PT_smoke_adaptive_domain(PhysicButtonsPanel, Panel):
md = context.smoke.domain_settings
self.layout.prop(md, "use_adaptive_domain", text="")
-
+
def draw(self, context):
layout = self.layout
domain = context.smoke.domain_settings
layout.active = domain.use_adaptive_domain
-
+
split = layout.split()
split.enabled = (not domain.point_cache.is_baked)
@@ -446,18 +446,18 @@ class PHYSICS_PT_smoke_manta_settings(PhysicButtonsPanel, Panel):
layout.active = domain.use_manta
split = layout.split()
tot = domain.manta_end_frame - domain.manta_start_frame
- if domain.manta_sim_frame == -1:
- split.operator("manta_export_scene.button", text="Create Manta Setup")
- split = layout.split()
- split.label("Status:Doing Nothing")
- else:
- split.operator("manta_stop_sim.button", text="Stop Sim")
- split = layout.split()
- split.label("Status:Simulating " + str(domain.manta_sim_frame) + "/" + str(tot))
- split = layout.split()
- col = split.column()
- col.prop(domain, "manta_start_frame", text="Start")
- col.prop(domain, "manta_end_frame", text="End")
+# if domain.manta_sim_frame == -1:
+# split.operator("manta_export_scene.button", text="Create Manta Setup")
+# split = layout.split()
+# split.label("Status:Doing Nothing")
+# else:
+# split.operator("manta_stop_sim.button", text="Stop Sim")
+# split = layout.split()
+# split.label("Status:Simulating " + str(domain.manta_sim_frame) + "/" + str(tot))
+# split = layout.split()
+# col = split.column()
+# col.prop(domain, "manta_start_frame", text="Start")
+# col.prop(domain, "manta_end_frame", text="End")
col = split.column()
col.prop(domain, "manta_solver_res", text="Solver Resolution")
col.prop(domain, "manta_uvs", text="UVs count")
More information about the Bf-blender-cvs
mailing list