diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-01 17:07:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-01 18:14:06 +0300 |
commit | 0706b410bd05cf9448e00b55e59e48a56682f84d (patch) | |
tree | 9f871bcde38c6b805bd40aff1cbe7e721ac647a0 /release/scripts/startup/bl_ui/properties_object.py | |
parent | eef18d39cbf0e50ba18d28f52f57689ad0701c16 (diff) |
UI: use same "Viewport Display" name for scene/object/material panels.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object.py | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py index 54b647f5b66..6486fbf0d63 100644 --- a/release/scripts/startup/bl_ui/properties_object.py +++ b/release/scripts/startup/bl_ui/properties_object.py @@ -199,7 +199,7 @@ class OBJECT_PT_collections(ObjectButtonsPanel, Panel): class OBJECT_PT_display(ObjectButtonsPanel, Panel): - bl_label = "Display" + bl_label = "Viewport Display" bl_options = {'DEFAULT_CLOSED'} def draw(self, context): @@ -252,11 +252,6 @@ class OBJECT_PT_display(ObjectButtonsPanel, Panel): # Only useful with object having faces/materials... col.prop(obj, "color") - col = layout.column(align=True) - col.active = bool(is_dupli or obj.particle_systems) - col.prop(obj, "show_duplicator_for_viewport") - col.prop(obj, "show_duplicator_for_render") - class OBJECT_PT_duplication(ObjectButtonsPanel, Panel): bl_label = "Duplication" @@ -296,6 +291,13 @@ class OBJECT_PT_duplication(ObjectButtonsPanel, Panel): elif ob.dupli_type == 'COLLECTION': layout.prop(ob, "dupli_group", text="Collection") + if ob.dupli_type != 'NONE' or len(ob.particle_systems): + layout.separator() + + col = layout.column(align=True) + col.prop(ob, "show_duplicator_for_viewport") + col.prop(ob, "show_duplicator_for_render") + from .properties_animviz import ( MotionPathButtonsPanel, |