Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Show First 20 Lines • Show All 5,460 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| scene = context.scene | scene = context.scene | ||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.prop(scene.display, "matcap_ssao_samples") | col.prop(scene.display, "matcap_ssao_samples") | ||||
| col.prop(scene.display, "matcap_ssao_distance") | col.prop(scene.display, "matcap_ssao_distance") | ||||
| col.prop(scene.display, "matcap_ssao_attenuation") | col.prop(scene.display, "matcap_ssao_attenuation") | ||||
| class VIEW3D_PT_shading_render_pass(Panel): | |||||
| bl_space_type = 'VIEW_3D' | |||||
| bl_region_type = 'HEADER' | |||||
| bl_label = "Render Pass" | |||||
| bl_parent_id = 'VIEW3D_PT_shading' | |||||
| COMPAT_ENGINES = {'BLENDER_EEVEE'} | |||||
| @classmethod | |||||
| def poll(cls, context): | |||||
| return (context.space_data.shading.type == 'MATERIAL' | |||||
| or (context.engine in cls.COMPAT_ENGINES | |||||
| and context.space_data.shading.type == 'RENDERED')) | |||||
| def draw(self, context): | |||||
| shading = context.space_data.shading | |||||
| layout = self.layout | |||||
| layout.prop(shading, "render_pass", text="") | |||||
| class VIEW3D_PT_gizmo_display(Panel): | class VIEW3D_PT_gizmo_display(Panel): | ||||
| bl_space_type = 'VIEW_3D' | bl_space_type = 'VIEW_3D' | ||||
| bl_region_type = 'HEADER' | bl_region_type = 'HEADER' | ||||
| bl_label = "Gizmo" | bl_label = "Gizmo" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| ▲ Show 20 Lines • Show All 1,427 Lines • ▼ Show 20 Lines | classes = ( | ||||
| VIEW3D_PT_quad_view, | VIEW3D_PT_quad_view, | ||||
| VIEW3D_PT_view3d_stereo, | VIEW3D_PT_view3d_stereo, | ||||
| VIEW3D_PT_shading, | VIEW3D_PT_shading, | ||||
| VIEW3D_PT_shading_lighting, | VIEW3D_PT_shading_lighting, | ||||
| VIEW3D_PT_shading_color, | VIEW3D_PT_shading_color, | ||||
| VIEW3D_PT_shading_options, | VIEW3D_PT_shading_options, | ||||
| VIEW3D_PT_shading_options_shadow, | VIEW3D_PT_shading_options_shadow, | ||||
| VIEW3D_PT_shading_options_ssao, | VIEW3D_PT_shading_options_ssao, | ||||
| VIEW3D_PT_shading_render_pass, | |||||
| VIEW3D_PT_gizmo_display, | VIEW3D_PT_gizmo_display, | ||||
| VIEW3D_PT_overlay, | VIEW3D_PT_overlay, | ||||
| VIEW3D_PT_overlay_guides, | VIEW3D_PT_overlay_guides, | ||||
| VIEW3D_PT_overlay_object, | VIEW3D_PT_overlay_object, | ||||
| VIEW3D_PT_overlay_geometry, | VIEW3D_PT_overlay_geometry, | ||||
| VIEW3D_PT_overlay_motion_tracking, | VIEW3D_PT_overlay_motion_tracking, | ||||
| VIEW3D_PT_overlay_edit_mesh, | VIEW3D_PT_overlay_edit_mesh, | ||||
| VIEW3D_PT_overlay_edit_mesh_shading, | VIEW3D_PT_overlay_edit_mesh_shading, | ||||
| Show All 32 Lines | |||||