Merging r58362 through r58463 from trunk into soc-2013-depsgraph_mt
This commit is contained in:
16
release/scripts/presets/cycles/sampling/final.py
Normal file
16
release/scripts/presets/cycles/sampling/final.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import bpy
|
||||
cycles = bpy.context.scene.cycles
|
||||
|
||||
cycles.squared_samples = True
|
||||
|
||||
cycles.samples = 24
|
||||
cycles.preview_samples = 24
|
||||
cycles.aa_samples = 8
|
||||
cycles.preview_aa_samples = 8
|
||||
|
||||
cycles.diffuse_samples = 3
|
||||
cycles.glossy_samples = 2
|
||||
cycles.transmission_samples = 2
|
||||
cycles.ao_samples = 1
|
||||
cycles.mesh_light_samples = 2
|
||||
cycles.subsurface_samples = 2
|
||||
16
release/scripts/presets/cycles/sampling/preview.py
Normal file
16
release/scripts/presets/cycles/sampling/preview.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import bpy
|
||||
cycles = bpy.context.scene.cycles
|
||||
|
||||
cycles.squared_samples = True
|
||||
|
||||
cycles.samples = 12
|
||||
cycles.preview_samples = 12
|
||||
cycles.aa_samples = 4
|
||||
cycles.preview_aa_samples = 4
|
||||
|
||||
cycles.diffuse_samples = 3
|
||||
cycles.glossy_samples = 2
|
||||
cycles.transmission_samples = 2
|
||||
cycles.ao_samples = 1
|
||||
cycles.mesh_light_samples = 2
|
||||
cycles.subsurface_samples = 2
|
||||
@@ -364,7 +364,7 @@ class DATA_PT_paragraph(CurveButtonsPanel, Panel):
|
||||
|
||||
col = split.column(align=True)
|
||||
col.label(text="Spacing:")
|
||||
col.prop(text, "space_character", text="Character")
|
||||
col.prop(text, "space_character", text="Letter")
|
||||
col.prop(text, "space_word", text="Word")
|
||||
col.prop(text, "space_line", text="Line")
|
||||
|
||||
|
||||
@@ -339,6 +339,11 @@ class MASK_MT_select(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("mask.select_more")
|
||||
layout.operator("mask.select_less")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("mask.select_all").action = 'TOGGLE'
|
||||
layout.operator("mask.select_all", text="Inverse").action = 'INVERT'
|
||||
|
||||
|
||||
@@ -293,7 +293,10 @@ class VIEW3D_MT_snap(Menu):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("view3d.snap_selected_to_grid", text="Selection to Grid")
|
||||
layout.operator("view3d.snap_selected_to_cursor", text="Selection to Cursor")
|
||||
props = layout.operator("view3d.snap_selected_to_cursor", text="Selection to Cursor")
|
||||
props.use_offset = False
|
||||
props = layout.operator("view3d.snap_selected_to_cursor", text="Selection to Cursor (Offset)")
|
||||
props.use_offset = True
|
||||
|
||||
layout.separator()
|
||||
|
||||
@@ -723,6 +726,7 @@ class VIEW3D_MT_select_edit_lattice(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("lattice.select_random")
|
||||
layout.operator("lattice.select_all").action = 'TOGGLE'
|
||||
layout.operator("lattice.select_all", text="Inverse").action = 'INVERT'
|
||||
|
||||
@@ -747,6 +751,11 @@ class VIEW3D_MT_select_edit_armature(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("armature.select_more", text="More")
|
||||
layout.operator("armature.select_less", text="Less")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("armature.select_hierarchy", text="Parent").direction = 'PARENT'
|
||||
layout.operator("armature.select_hierarchy", text="Child").direction = 'CHILD'
|
||||
|
||||
@@ -2534,7 +2543,7 @@ class VIEW3D_PT_view3d_display(Panel):
|
||||
view = context.space_data
|
||||
scene = context.scene
|
||||
gs = scene.game_settings
|
||||
ob = context.object
|
||||
obj = context.object
|
||||
|
||||
col = layout.column()
|
||||
col.prop(view, "show_only_render")
|
||||
@@ -2574,6 +2583,8 @@ class VIEW3D_PT_view3d_display(Panel):
|
||||
if view.use_matcap:
|
||||
col.template_icon_view(view, "matcap_icon")
|
||||
col.prop(view, "show_backface_culling")
|
||||
if obj and obj.mode == 'EDIT' and view.viewport_shade not in {'BOUNDBOX', 'WIREFRAME'}:
|
||||
col.prop(view, "show_occlude_wire")
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user