diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-08 16:57:20 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-08 18:46:20 +0300 |
commit | e6d11c6ce66f94549d1fe896c59b67564ae19d68 (patch) | |
tree | babe12f8b03d92d1a43d880e044bca2394ecd118 /release/scripts/startup/bl_ui/properties_collection.py | |
parent | 03dd109a84657ebf778dc3c25776f7a93cccf1ac (diff) |
Collections: remove per collection and view layer engine overrides.
This will be handled by the new view layer override system which will
store data elsewhere, removing the code already for easier refactoring.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_collection.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_collection.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/release/scripts/startup/bl_ui/properties_collection.py b/release/scripts/startup/bl_ui/properties_collection.py index 80598632714..0721ad19f2d 100644 --- a/release/scripts/startup/bl_ui/properties_collection.py +++ b/release/scripts/startup/bl_ui/properties_collection.py @@ -59,36 +59,8 @@ class COLLECTION_PT_context_collection(CollectionButtonsPanel, Panel): layout.prop(collection, "name", text="", icon='COLLAPSEMENU') -class COLLECTION_PT_clay_settings(CollectionButtonsPanel, Panel): - bl_label = "Render Settings" - COMPAT_ENGINES = {'BLENDER_CLAY'} - - @classmethod - def poll(cls, context): - return context.engine in cls.COMPAT_ENGINES - - def draw(self, context): - layout = self.layout - scene_props = context.scene.collection_properties['BLENDER_CLAY'] - collection = get_collection_from_context(context) - collection_props = collection.engine_overrides['BLENDER_CLAY'] - - col = layout.column() - col.template_override_property(collection_props, scene_props, "matcap_icon", custom_template="icon_view") - col.template_override_property(collection_props, scene_props, "matcap_rotation") - col.template_override_property(collection_props, scene_props, "matcap_hue") - col.template_override_property(collection_props, scene_props, "matcap_saturation") - col.template_override_property(collection_props, scene_props, "matcap_value") - col.template_override_property(collection_props, scene_props, "ssao_factor_cavity") - col.template_override_property(collection_props, scene_props, "ssao_factor_edge") - col.template_override_property(collection_props, scene_props, "ssao_distance") - col.template_override_property(collection_props, scene_props, "ssao_attenuation") - col.template_override_property(collection_props, scene_props, "hair_brightness_randomness") - - classes = ( COLLECTION_PT_context_collection, - COLLECTION_PT_clay_settings, ) if __name__ == "__main__": # only for live edit. |