Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 1,403 Lines • ▼ Show 20 Lines | def draw_header(self, context): | ||||
| self.layout.prop(rd, "use_simplify", text="") | self.layout.prop(rd, "use_simplify", text="") | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| rd = context.scene.render | rd = context.scene.render | ||||
| layout.active = rd.use_simplify | layout.active = rd.use_simplify | ||||
| split = layout.split() | |||||
| row = layout.row() | col = split.column(align=True) | ||||
| row.prop(rd, "simplify_subdivision", text="Subdivision") | col.label(text="Viewport") | ||||
dingto: Missing colon. | |||||
| row.prop(rd, "simplify_child_particles", text="Child Particles") | col.prop(rd, "simplify_subdivision", text="Subdivision") | ||||
| col.prop(rd, "simplify_child_particles", text="Child Particles") | |||||
| col = split.column(align=True) | |||||
| col.label(text="Render") | |||||
dingtoUnsubmitted Not Done Inline ActionsMissing colon. dingto: Missing colon. | |||||
| col.prop(rd, "simplify_subdivision_render", text="Subdivision") | |||||
| col.prop(rd, "simplify_child_particles_render", text="Child Particles") | |||||
| def draw_device(self, context): | def draw_device(self, context): | ||||
| scene = context.scene | scene = context.scene | ||||
| layout = self.layout | layout = self.layout | ||||
| if scene.render.engine == 'CYCLES': | if scene.render.engine == 'CYCLES': | ||||
| from . import engine | from . import engine | ||||
| ▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines | |||||
Missing colon.