Cleanup: use the term "props" for operator properties
Differentiate operators from their properties.
This commit is contained in:
parent
98b973294b
commit
02b8bde4b3
@ -264,7 +264,7 @@ class TEXT_MT_text(Menu):
|
||||
row.enabled = not text.is_in_memory
|
||||
|
||||
row = layout.row()
|
||||
op = row.operator("text.jump_to_file_at_point", text="Edit Externally")
|
||||
row.operator("text.jump_to_file_at_point", text="Edit Externally")
|
||||
row.enabled = (not text.is_in_memory and context.preferences.filepaths.text_editor != "")
|
||||
|
||||
layout.separator()
|
||||
|
@ -1995,12 +1995,12 @@ class VIEW3D_MT_select_edit_grease_pencil(Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
op = layout.operator("grease_pencil.select_ends", text="First")
|
||||
op.amount_start = 1
|
||||
op.amount_end = 0
|
||||
op = layout.operator("grease_pencil.select_ends", text="Last")
|
||||
op.amount_start = 0
|
||||
op.amount_end = 1
|
||||
props = layout.operator("grease_pencil.select_ends", text="First")
|
||||
props.amount_start = 1
|
||||
props.amount_end = 0
|
||||
props = layout.operator("grease_pencil.select_ends", text="Last")
|
||||
props.amount_start = 0
|
||||
props.amount_end = 1
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user