Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 2,064 Lines • ▼ Show 20 Lines | class CYCLES_VIEW3D_PT_shading_lighting(Panel): | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| col = layout.column() | col = layout.column() | ||||
| split = col.split(factor=0.9) | split = col.split(factor=0.9) | ||||
| shading = context.space_data.shading | shading = context.space_data.shading | ||||
| col.prop(shading, "use_scene_lights_render") | col.prop(shading, "use_scene_lights_render") | ||||
| col.prop(shading, "use_scene_world_render") | col.prop(shading, "use_scene_world_render") | ||||
| col.prop(shading, "render_pass") | |||||
brecht: It's a bit strange in the middle of these lighting settings.
It can be moved into a separate… | |||||
| if not shading.use_scene_world_render: | if not shading.use_scene_world_render: | ||||
| col = layout.column() | col = layout.column() | ||||
| split = col.split(factor=0.9) | split = col.split(factor=0.9) | ||||
| col = split.column() | col = split.column() | ||||
| sub = col.row() | sub = col.row() | ||||
| sub.scale_y = 0.6 | sub.scale_y = 0.6 | ||||
| ▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines | |||||
It's a bit strange in the middle of these lighting settings.
It can be moved into a separate subpanel instead: