Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 2,080 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| sub.template_icon_view(shading, "studio_light", scale_popup=3) | sub.template_icon_view(shading, "studio_light", scale_popup=3) | ||||
| col = split.column() | col = split.column() | ||||
| col.operator("preferences.studiolight_show", emboss=False, text="", icon='PREFERENCES') | col.operator("preferences.studiolight_show", emboss=False, text="", icon='PREFERENCES') | ||||
| split = layout.split(factor=0.9) | split = layout.split(factor=0.9) | ||||
| col = split.column() | col = split.column() | ||||
| col.prop(shading, "studiolight_rotate_z", text="Rotation") | col.prop(shading, "studiolight_rotate_z", text="Rotation") | ||||
| col.prop(shading, "studiolight_intensity") | |||||
| col.prop(shading, "studiolight_background_alpha") | col.prop(shading, "studiolight_background_alpha") | ||||
| def draw_device(self, context): | def draw_device(self, context): | ||||
| scene = context.scene | scene = context.scene | ||||
| layout = self.layout | layout = self.layout | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| layout.use_property_decorate = False | layout.use_property_decorate = False | ||||
| ▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines | |||||