[Bf-blender-cvs] [659ca6a] fracture_modifier: added threaded checkbox next to execute fracture operator
Martin Felke
noreply at git.blender.org
Mon Aug 8 14:54:09 CEST 2016
Commit: 659ca6a7d68027c397068e5781090aa0fa7562e5
Author: Martin Felke
Date: Mon Aug 8 14:53:47 2016 +0200
Branches: fracture_modifier
https://developer.blender.org/rB659ca6a7d68027c397068e5781090aa0fa7562e5
added threaded checkbox next to execute fracture operator
===================================================================
M release/scripts/startup/bl_ui/properties_physics_fracture.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_physics_fracture.py b/release/scripts/startup/bl_ui/properties_physics_fracture.py
index bc7bd0e..7d4ea5a 100644
--- a/release/scripts/startup/bl_ui/properties_physics_fracture.py
+++ b/release/scripts/startup/bl_ui/properties_physics_fracture.py
@@ -148,7 +148,9 @@ class PHYSICS_PT_fracture(PhysicButtonsPanel, Panel):
box.prop_search(md, "inner_vertex_group", ob, "vertex_groups", text = "")
layout.context_pointer_set("modifier", md)
- layout.operator("object.fracture_refresh", text="Execute Fracture", icon='MOD_EXPLODE').reset = True
+ row = layout.row()
+ row.operator("object.fracture_refresh", text="Execute Fracture", icon='MOD_EXPLODE').reset = True
+ row.prop(md, "execute_threaded", text="Threaded (WIP)")
class PHYSICS_PT_fracture_simulation(PhysicButtonsPanel, Panel):
bl_label = "Fracture Constraint Settings"
@@ -232,8 +234,6 @@ class PHYSICS_PT_fracture_utilities(PhysicButtonsPanel, Panel):
row = layout.row()
row.prop(md, "fix_normals")
row.prop(md, "nor_range")
- if not(md.refresh):
- layout.prop(md, "execute_threaded")
layout.context_pointer_set("modifier", md)
layout.operator("object.rigidbody_convert_to_objects", text = "Convert To Objects")
More information about the Bf-blender-cvs
mailing list