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/ui/buttons_physics_softbody.py')
-rw-r--r--release/ui/buttons_physics_softbody.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/release/ui/buttons_physics_softbody.py b/release/ui/buttons_physics_softbody.py
index 703977a056f..3bdbb1b8b90 100644
--- a/release/ui/buttons_physics_softbody.py
+++ b/release/ui/buttons_physics_softbody.py
@@ -63,7 +63,7 @@ class PHYSICS_PT_softbody_cache(PhysicButtonsPanel):
__default_closed__ = True
def poll(self, context):
- return (context.soft_body)
+ return context.soft_body
def draw(self, context):
md = context.soft_body
@@ -74,7 +74,7 @@ class PHYSICS_PT_softbody_goal(PhysicButtonsPanel):
__default_closed__ = True
def poll(self, context):
- return (context.soft_body)
+ return context.soft_body
def draw_header(self, context):
softbody = context.soft_body.settings
@@ -115,7 +115,7 @@ class PHYSICS_PT_softbody_edge(PhysicButtonsPanel):
__default_closed__ = True
def poll(self, context):
- return (context.soft_body)
+ return context.soft_body
def draw_header(self, context):
softbody = context.soft_body.settings
@@ -163,7 +163,7 @@ class PHYSICS_PT_softbody_collision(PhysicButtonsPanel):
__default_closed__ = True
def poll(self, context):
- return (context.soft_body)
+ return context.soft_body
def draw_header(self, context):
softbody = context.soft_body.settings
@@ -194,7 +194,7 @@ class PHYSICS_PT_softbody_solver(PhysicButtonsPanel):
__default_closed__ = True
def poll(self, context):
- return (context.soft_body)
+ return context.soft_body
def draw(self, context):
layout = self.layout