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-19 09:10:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-19 09:10:39 +0300
commitad4cbc5a58fec30ce52592cdeb5e3eaafc6a2c24 (patch)
tree1466a1f652bd9e4bd90f28480111989f36d3b0f6 /release/scripts/startup/bl_ui/properties_object.py
parent548fb8103549c85ad007266016d401e48ca74e3b (diff)
Cleanup: logical checks in UI scripts
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index 323ab463792..3265366a2f9 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -309,7 +309,7 @@ class OBJECT_PT_instancing(ObjectButtonsPanel, Panel):
col = layout.column()
col.prop(ob, "instance_collection", text="Collection")
- if ob.instance_type != 'NONE' or len(ob.particle_systems):
+ if ob.instance_type != 'NONE' or ob.particle_systems:
col = flow.column(align=True)
col.prop(ob, "show_instancer_for_viewport")
col.prop(ob, "show_instancer_for_render")