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:
authorJeroen Bakker <j.bakker@atmind.nl>2018-04-17 23:11:56 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-04-17 23:11:56 +0300
commit3f762dd76409a285bc0f40df0ff8a6bae6d065b0 (patch)
tree9fbaf7813ea25c34c3dfa0a76d876dec30992f05 /release/scripts/startup/bl_ui/properties_collection.py
parentdd8d55b31ac693aed0510551d080bbaca9c3cb7e (diff)
Workbench: clean up the viewport shading code
- added the drawtype_solid, drawtype_wireframe, drawtype_texture to View3D - enabled workbench panels for important render engines - merged workbench_materials to solid_flat_mode. All draw modes will get its own fast implementation in the workbench
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_collection.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_collection.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_collection.py b/release/scripts/startup/bl_ui/properties_collection.py
index cced6262be5..60f06b57f3c 100644
--- a/release/scripts/startup/bl_ui/properties_collection.py
+++ b/release/scripts/startup/bl_ui/properties_collection.py
@@ -87,12 +87,7 @@ class COLLECTION_PT_clay_settings(CollectionButtonsPanel, Panel):
class COLLECTION_PT_workbench_settings(CollectionButtonsPanel, Panel):
- bl_label = "Render Settings"
- COMPAT_ENGINES = {'BLENDER_WORKBENCH'}
-
- @classmethod
- def poll(cls, context):
- return context.view_render.engine in cls.COMPAT_ENGINES
+ bl_label = "Workbench Settings"
def draw(self, context):
layout = self.layout