Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_modifier.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py38
1 files changed, 37 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 62e19129923..5a1935f915a 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -410,7 +410,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
row.prop(md, "mid_level")
row.prop(md, "strength")
- def DYNAMIC_PAINT(self, layout, _ob, _md):
+ def DYNAMIC_PAINT(self, layout, _ob, md):
layout.label(text="Settings are inside the Physics tab")
def EDGE_SPLIT(self, layout, _ob, md):
@@ -1803,6 +1803,42 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "thresh", text="Threshold")
col.prop(md, "face_influence")
+ def FUNCTION_DEFORM(self, layout, ob, md):
+ layout.prop(md, "control1")
+ layout.prop(md, "control2")
+
+ row = layout.row(align=True)
+ row.prop(md, "function_tree")
+ props = row.operator("fn.new_deformation_function", text="", icon="ADD")
+ props.object_name = ob.name
+ props.modifier_name = md.name
+
+ def FUNCTION_POINTS(self, layout, ob, md):
+ layout.prop(md, "control1")
+ layout.prop(md, "control2")
+
+ row = layout.row(align=True)
+ row.prop(md, "function_tree")
+ props = row.operator("fn.new_point_generator_function", text="", icon="ADD")
+ props.object_name = ob.name
+ props.modifier_name = md.name
+
+ def BPARTICLES(self, layout, ob, md):
+ row = layout.row(align=True)
+ row.prop(md, "node_tree")
+ props = row.operator("fn.new_particle_simulation_tree", text="", icon="ADD")
+ props.object_name = ob.name
+ props.modifier_name = md.name
+
+ layout.operator("object.bparticles_clear_cache", text="Clear Cache")
+
+ layout.prop(md, "output_type")
+
+ def BPARTICLES_OUTPUT(self, layout, ob, md):
+ layout.prop(md, "source_object")
+ layout.prop(md, "source_particle_system", icon="PHYSICS")
+ layout.prop(md, "output_type")
+
class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
bl_label = "Modifiers"