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:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-11 17:07:32 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-11 17:07:40 +0300
commit7552972de0a2403d93699ad4a63882080fbde6f3 (patch)
treea03c73f835d793d59ff6488bc3b1df9d1a30ffbb /release/scripts/startup/bl_ui/properties_scene.py
parent0ae440eba5ea17686ac2dc75a48c2f674420f394 (diff)
UI: Remove duplicate Viewport Display panel from Scene properties
The Shadow and SSAO settings here are accessible from the Shading popover.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_scene.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_scene.py37
1 files changed, 0 insertions, 37 deletions
diff --git a/release/scripts/startup/bl_ui/properties_scene.py b/release/scripts/startup/bl_ui/properties_scene.py
index 1394a9388d0..d0fce0a2582 100644
--- a/release/scripts/startup/bl_ui/properties_scene.py
+++ b/release/scripts/startup/bl_ui/properties_scene.py
@@ -481,41 +481,6 @@ class SCENE_PT_simplify_render(SceneButtonsPanel, Panel):
col.prop(rd, "simplify_child_particles_render", text="Max Child Particles")
-class SCENE_PT_viewport_display(SceneButtonsPanel, Panel):
- bl_label = "Viewport Display"
- bl_options = {'DEFAULT_CLOSED'}
-
- @classmethod
- def poll(cls, context):
- return True
-
- def draw(self, context):
- layout = self.layout
- layout.use_property_split = True
- scene = context.scene
- col = layout.column()
- col.prop(scene.display, "light_direction")
- col.prop(scene.display, "shadow_shift")
-
-
-class SCENE_PT_viewport_display_ssao(SceneButtonsPanel, Panel):
- bl_label = "Screen Space Ambient Occlusion"
- bl_parent_id = "SCENE_PT_viewport_display"
-
- @classmethod
- def poll(cls, context):
- return True
-
- def draw(self, context):
- layout = self.layout
- layout.use_property_split = True
- scene = context.scene
- col = layout.column()
- col.prop(scene.display, "matcap_ssao_samples")
- col.prop(scene.display, "matcap_ssao_distance")
- col.prop(scene.display, "matcap_ssao_attenuation")
-
-
class SCENE_PT_custom_props(SceneButtonsPanel, PropertyPanel, Panel):
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE'}
_context_path = "scene"
@@ -531,8 +496,6 @@ classes = (
SCENE_PT_keying_set_paths,
SCENE_PT_color_management,
SCENE_PT_color_management_curves,
- SCENE_PT_viewport_display,
- SCENE_PT_viewport_display_ssao,
SCENE_PT_audio,
SCENE_PT_physics,
SCENE_PT_rigid_body_world,