Workbench: Option to use Object color
[blender.git] / release / scripts / startup / bl_ui / properties_render.py
index 9b9cfee5dc77f99136dbb285fcfefe3e5197f3c2..a0d7e9b10262ebca5da4d728840731baa5e1794c 100644 (file)
@@ -907,7 +907,9 @@ class RENDER_PT_workbench_collection_settings(RenderButtonsPanel, Panel):
         props = context.scene.collection_properties['BLENDER_WORKBENCH']
 
         col = layout.column()
-        col.prop(props, "object_color")
+        col.prop(props, "object_color_type")
+        if props.object_color_type == 'COLLECTION':
+            col.prop(props, "object_color")
 
 
 classes = (