Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_render.py
| Show First 20 Lines • Show All 537 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| scene = context.scene | scene = context.scene | ||||
| rd = scene.render | rd = scene.render | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.prop(rd, "use_high_quality_normals") | layout.prop(rd, "use_high_quality_normals") | ||||
| class RENDER_PT_gpencil(RenderButtonsPanel, Panel): | |||||
| bl_label = "Grease Pencil" | |||||
| bl_options = {'DEFAULT_CLOSED'} | |||||
| @classmethod | |||||
| def poll(cls, context): | |||||
| return True | |||||
| def draw(self, context): | |||||
| layout = self.layout | |||||
| layout.use_property_split = True | |||||
| layout.use_property_decorate = False # No animation. | |||||
| scene = context.scene | |||||
| props = scene.grease_pencil_settings | |||||
| col = layout.column() | |||||
| col.prop(props, "antialias_threshold") | |||||
| class RENDER_PT_opengl_sampling(RenderButtonsPanel, Panel): | class RENDER_PT_opengl_sampling(RenderButtonsPanel, Panel): | ||||
| bl_label = "Sampling" | bl_label = "Sampling" | ||||
| COMPAT_ENGINES = {'BLENDER_WORKBENCH'} | COMPAT_ENGINES = {'BLENDER_WORKBENCH'} | ||||
| @classmethod | @classmethod | ||||
| def poll(cls, context): | def poll(cls, context): | ||||
| return (context.engine in cls.COMPAT_ENGINES) | return (context.engine in cls.COMPAT_ENGINES) | ||||
| ▲ Show 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | classes = ( | ||||
| RENDER_PT_eevee_volumetric_shadows, | RENDER_PT_eevee_volumetric_shadows, | ||||
| RENDER_PT_eevee_performance, | RENDER_PT_eevee_performance, | ||||
| RENDER_PT_eevee_hair, | RENDER_PT_eevee_hair, | ||||
| RENDER_PT_eevee_shadows, | RENDER_PT_eevee_shadows, | ||||
| RENDER_PT_eevee_indirect_lighting, | RENDER_PT_eevee_indirect_lighting, | ||||
| RENDER_PT_eevee_indirect_lighting_display, | RENDER_PT_eevee_indirect_lighting_display, | ||||
| RENDER_PT_eevee_film, | RENDER_PT_eevee_film, | ||||
| RENDER_PT_eevee_film_overscan, | RENDER_PT_eevee_film_overscan, | ||||
| RENDER_PT_gpencil, | |||||
| RENDER_PT_opengl_sampling, | RENDER_PT_opengl_sampling, | ||||
| RENDER_PT_opengl_lighting, | RENDER_PT_opengl_lighting, | ||||
| RENDER_PT_opengl_color, | RENDER_PT_opengl_color, | ||||
| RENDER_PT_opengl_options, | RENDER_PT_opengl_options, | ||||
| RENDER_PT_opengl_film, | RENDER_PT_opengl_film, | ||||
| RENDER_PT_color_management, | RENDER_PT_color_management, | ||||
| RENDER_PT_color_management_curves, | RENDER_PT_color_management_curves, | ||||
| RENDER_PT_simplify, | RENDER_PT_simplify, | ||||
| Show All 9 Lines | |||||