GP: Removed unused lines after previous commit

The reverse order is controlled inside operator.
This commit is contained in:
Antonioya 2018-10-12 09:08:41 +02:00
parent 54ecff1fca
commit 8962b5e16b
1 changed files with 2 additions and 6 deletions

View File

@ -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()