Fix [#22120] Physics modifiers can't be removed

This commit is contained in:
Matt Ebb
2010-04-23 01:06:28 +00:00
parent 7f635f2c91
commit d4e1bcb7f2
5 changed files with 0 additions and 7 deletions

View File

@@ -62,7 +62,6 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
wide_ui = context.region.width > narrowui
split = layout.split()
split.operator_context = 'EXEC_DEFAULT'
if md:
# remove modifier + settings
@@ -78,8 +77,6 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
if wide_ui:
split.column()
split.operator_context = 'INVOKE_DEFAULT'
if md:
cloth = md.settings

View File

@@ -185,7 +185,6 @@ class PHYSICS_PT_collision(PhysicButtonsPanel):
wide_ui = context.region.width > narrowui
split = layout.split()
split.operator_context = 'EXEC_DEFAULT'
if md:
# remove modifier + settings

View File

@@ -43,7 +43,6 @@ class PHYSICS_PT_fluid(PhysicButtonsPanel):
wide_ui = context.region.width > narrowui
split = layout.split(percentage=0.5)
split.operator_context = 'EXEC_DEFAULT'
if md:
# remove modifier + settings

View File

@@ -48,7 +48,6 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel):
wide_ui = context.region.width > narrowui
split = layout.split()
split.operator_context = 'EXEC_DEFAULT'
if md:
# remove modifier + settings

View File

@@ -54,7 +54,6 @@ class PHYSICS_PT_softbody(PhysicButtonsPanel):
wide_ui = context.region.width > narrowui
split = layout.split()
split.operator_context = 'EXEC_DEFAULT'
if md:
# remove modifier + settings