diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-10 08:23:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-10 08:23:41 +0300 |
commit | 45d9df853ea8e01b4cfb04922c19a44545b0bd44 (patch) | |
tree | e65d94251c7dd24c0bcfa91bca9215ca5bc83a1d /release/scripts/startup/bl_ui/properties_freestyle.py | |
parent | d6b57436efad545347b4403610dd3af642d4378d (diff) |
UI: consistent naming for operator props
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_freestyle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_freestyle.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_freestyle.py b/release/scripts/startup/bl_ui/properties_freestyle.py index 8f8d8470fec..995136b0d97 100644 --- a/release/scripts/startup/bl_ui/properties_freestyle.py +++ b/release/scripts/startup/bl_ui/properties_freestyle.py @@ -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 |