diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-30 09:24:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-30 09:24:51 +0400 |
commit | 5f47f1370e63a54a98e7cce5b5aee91da1214aae (patch) | |
tree | c31568cb524a27a82ce21733968170c15202ce5e /release/scripts/startup/bl_ui/space_image.py | |
parent | 9598990b9b6ef4fb129943ea1288d9087dff9f9b (diff) |
UI: move toggle icons out of layout checks into rna
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index c341d855ccc..5c221412d43 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -874,11 +874,10 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel): col.separator() row = col.row(align=True) + row.prop(brush, "use_relative_jitter", icon_only=True) if brush.use_relative_jitter: - row.prop(brush, "use_relative_jitter", text="", icon='LOCKED') row.prop(brush, "jitter", slider=True) else: - row.prop(brush, "use_relative_jitter", text="", icon='UNLOCKED') row.prop(brush, "jitter_absolute") row.prop(brush, "use_pressure_jitter", toggle=True, text="") |