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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-13 13:44:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-13 13:45:02 +0300
commitcd60843aef84b1801c9e0ff5c8d63926a20435cd (patch)
tree31f0423ec7cc2ba25d9553550c136b95e06878fa /release/scripts/startup/bl_ui/properties_physics_common.py
parentf98b6ace5d4958eadf367baa89d1825560136640 (diff)
Cleanup: add trailing commas to wrapped args
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_common.py12
1 files changed, 10 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 965b635418f..11a9b250454 100644
--- a/release/scripts/startup/bl_ui/properties_physics_common.py
+++ b/release/scripts/startup/bl_ui/properties_physics_common.py
@@ -39,13 +39,21 @@ def physics_add(self, layout, md, name, type, typeicon, toggles):
row = layout.row(align=True)
if md:
row.context_pointer_set("modifier", md)
- row.operator("object.modifier_remove", text=name, text_ctxt=i18n_contexts.default, icon='X')
+ row.operator(
+ "object.modifier_remove",
+ text=name,
+ text_ctxt=i18n_contexts.default,
+ icon='X',
+ )
if toggles:
row.prop(md, "show_render", text="")
row.prop(md, "show_viewport", text="")
else:
row.operator(
- "object.modifier_add", text=name, text_ctxt=i18n_contexts.default, icon='BLANK1'
+ "object.modifier_add",
+ text=name,
+ text_ctxt=i18n_contexts.default,
+ icon='BLANK1',
).type = type