diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_common.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_field.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py index 207608c410f..b26fbb9e906 100644 --- a/release/scripts/startup/bl_ui/properties_physics_common.py +++ b/release/scripts/startup/bl_ui/properties_physics_common.py @@ -240,7 +240,6 @@ def effector_weights_ui(self, context, weights, weight_type): def basic_force_field_settings_ui(self, context, field): layout = self.layout - if not field or field.type == 'NONE': return @@ -282,6 +281,7 @@ def basic_force_field_settings_ui(self, context, field): col.label(text="Collision") col.prop(field, "use_absorption") + def basic_force_field_falloff_ui(self, context, field): layout = self.layout diff --git a/release/scripts/startup/bl_ui/properties_physics_field.py b/release/scripts/startup/bl_ui/properties_physics_field.py index 169a55e8c1a..72b5d9f1574 100644 --- a/release/scripts/startup/bl_ui/properties_physics_field.py +++ b/release/scripts/startup/bl_ui/properties_physics_field.py @@ -193,6 +193,7 @@ class PHYSICS_PT_collision(PhysicButtonsPanel, Panel): col = layout.column() col.prop(settings, "absorption", text="Force Field Absorption") + class PHYSICS_PT_collision_particle(PhysicButtonsPanel, Panel): bl_label = "Particle" bl_parent_id = "PHYSICS_PT_collision" @@ -267,7 +268,6 @@ class PHYSICS_PT_collision_softbody(PhysicButtonsPanel, Panel): col.prop(settings, "thickness_inner", text="Inner", slider=True) - classes = ( PHYSICS_PT_field, PHYSICS_PT_field_falloff, |