* Rest length parameter for harmonic force springs. Implementation is a slightly...
[blender.git] / release / scripts / ui / properties_physics_common.py
index 26411b227a8c12d254b804b94d78d3965ce0605b..24c822f9ca9d4fa5c0f4458044a2969760bb9701 100644 (file)
@@ -150,6 +150,7 @@ def basic_force_field_settings_ui(self, context, field):
         col.prop(field, "flow")
     elif field.type == 'HARMONIC':
         col.prop(field, "harmonic_damping", text="Damping")
+        col.prop(field, "rest_length")
     elif field.type == 'VORTEX' and field.shape != 'POINT':
         col.prop(field, "inflow")
     elif field.type == 'DRAG':
@@ -163,6 +164,8 @@ def basic_force_field_settings_ui(self, context, field):
     col.prop(field, "seed")
     if field.type == 'TURBULENCE':
         col.prop(field, "global_coordinates", text="Global")
+    elif field.type == 'HARMONIC':
+        col.prop(field, "multiple_springs")
 
     split = layout.split()