diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-12 10:08:41 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-12 10:08:57 +0300 |
commit | 8962b5e16b91d22029674c58dcc7499dc3e21606 (patch) | |
tree | 29d88bed9add2a5446fa9d01f3184bf741726503 /release | |
parent | 54ecff1fca4319fdfd30f3db644856fee493d7b4 (diff) |
GP: Removed unused lines after previous commit
The reverse order is controlled inside operator.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_gpencil.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py index 470560c3cd0..184440a3400 100644 --- a/release/scripts/startup/bl_ui/properties_data_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py @@ -150,12 +150,8 @@ class DATA_PT_gpencil_datapanel(Panel): col.separator() sub = col.column(align=True) - if reverse is False: - sub.operator("gpencil.layer_move", icon='TRIA_UP', text="").type = 'UP' - sub.operator("gpencil.layer_move", icon='TRIA_DOWN', text="").type = 'DOWN' - else: - sub.operator("gpencil.layer_move", icon='TRIA_UP', text="").type = 'DOWN' - sub.operator("gpencil.layer_move", icon='TRIA_DOWN', text="").type = 'UP' + sub.operator("gpencil.layer_move", icon='TRIA_UP', text="").type = 'UP' + sub.operator("gpencil.layer_move", icon='TRIA_DOWN', text="").type = 'DOWN' col.separator() |