GP: Removed unused lines after previous commit
The reverse order is controlled inside operator.
This commit is contained in:
parent
54ecff1fca
commit
8962b5e16b
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user