UI: consistent naming for operator props
This commit is contained in:
parent
d6b57436ef
commit
45d9df853e
@ -690,10 +690,11 @@ class RENDERLAYER_PT_freestyle_linestyle(RenderLayerFreestyleEditorButtonsPanel,
|
||||
row.prop(linestyle, "texture_spacing", text="Spacing Along Stroke")
|
||||
|
||||
row = layout.row()
|
||||
op = row.operator("wm.properties_context_change",
|
||||
text="Go to Linestyle Textures Properties",
|
||||
icon='TEXTURE')
|
||||
op.context = 'TEXTURE'
|
||||
props = row.operator(
|
||||
"wm.properties_context_change",
|
||||
text="Go to Linestyle Textures Properties",
|
||||
icon='TEXTURE')
|
||||
props.context = 'TEXTURE'
|
||||
|
||||
elif linestyle.panel == 'MISC':
|
||||
pass
|
||||
|
@ -230,12 +230,12 @@ class SEQUENCER_MT_select(Menu):
|
||||
|
||||
layout.operator("sequencer.select_active_side", text="Strips to the Left").side = 'LEFT'
|
||||
layout.operator("sequencer.select_active_side", text="Strips to the Right").side = 'RIGHT'
|
||||
op = layout.operator("sequencer.select", text="All strips to the Left")
|
||||
op.left_right = 'LEFT'
|
||||
op.linked_time = True
|
||||
op = layout.operator("sequencer.select", text="All strips to the Right")
|
||||
op.left_right = 'RIGHT'
|
||||
op.linked_time = True
|
||||
props = layout.operator("sequencer.select", text="All strips to the Left")
|
||||
props.left_right = 'LEFT'
|
||||
props.linked_time = True
|
||||
props = layout.operator("sequencer.select", text="All strips to the Right")
|
||||
props.left_right = 'RIGHT'
|
||||
props.linked_time = True
|
||||
|
||||
layout.separator()
|
||||
layout.operator("sequencer.select_handles", text="Surrounding Handles").side = 'BOTH'
|
||||
|
@ -1666,9 +1666,9 @@ class VIEW3D_MT_paint_weight(Menu):
|
||||
layout.operator("object.vertex_group_quantize", text="Quantize")
|
||||
layout.operator("object.vertex_group_levels", text="Levels")
|
||||
layout.operator("object.vertex_group_blend", text="Blend")
|
||||
prop = layout.operator("object.data_transfer", text="Transfer Weights")
|
||||
prop.use_reverse_transfer = True
|
||||
prop.data_type = 'VGROUP_WEIGHTS'
|
||||
props = layout.operator("object.data_transfer", text="Transfer Weights")
|
||||
props.use_reverse_transfer = True
|
||||
props.data_type = 'VGROUP_WEIGHTS'
|
||||
layout.operator("object.vertex_group_limit_total", text="Limit Total")
|
||||
layout.operator("object.vertex_group_fix", text="Fix Deforms")
|
||||
|
||||
|
@ -407,9 +407,9 @@ class VIEW3D_PT_tools_shading(View3DPanel, Panel):
|
||||
row.operator("mesh.mark_sharp", text="Sharp")
|
||||
col.label(text="Vertices:")
|
||||
row = col.row(align=True)
|
||||
op = row.operator("mesh.mark_sharp", text="Smooth")
|
||||
op.use_verts = True
|
||||
op.clear = True
|
||||
props = row.operator("mesh.mark_sharp", text="Smooth")
|
||||
props.use_verts = True
|
||||
props.clear = True
|
||||
row.operator("mesh.mark_sharp", text="Sharp").use_verts = True
|
||||
|
||||
col = layout.column(align=True)
|
||||
@ -1607,9 +1607,9 @@ class VIEW3D_PT_tools_weightpaint(View3DPanel, Panel):
|
||||
|
||||
col = layout.column()
|
||||
col.operator("paint.weight_gradient")
|
||||
prop = col.operator("object.data_transfer", text="Transfer Weights")
|
||||
prop.use_reverse_transfer = True
|
||||
prop.data_type = 'VGROUP_WEIGHTS'
|
||||
props = col.operator("object.data_transfer", text="Transfer Weights")
|
||||
props.use_reverse_transfer = True
|
||||
props.data_type = 'VGROUP_WEIGHTS'
|
||||
|
||||
|
||||
class VIEW3D_PT_tools_weightpaint_options(Panel, View3DPaintPanel):
|
||||
|
Loading…
Reference in New Issue
Block a user