Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-12 10:08:41 +0300
committerAntonioya <blendergit@gmail.com>2018-10-12 10:08:57 +0300
commit8962b5e16b91d22029674c58dcc7499dc3e21606 (patch)
tree29d88bed9add2a5446fa9d01f3184bf741726503
parent54ecff1fca4319fdfd30f3db644856fee493d7b4 (diff)
GP: Removed unused lines after previous commit
The reverse order is controlled inside operator.
-rw-r--r--release/scripts/startup/bl_ui/properties_data_gpencil.py8
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()