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:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-31 16:13:08 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-31 16:13:13 +0300
commitddd44315b805aab491c085e478226f916ce03176 (patch)
treec1929bba7da46b9882d98ce4b5a42ca0f56dffc9 /release/scripts/startup/bl_ui/properties_data_gpencil.py
parent1b0c1c551a6f25991dfa708ac33af6b1392e70e2 (diff)
UI: Grease Pencil Onion Skin minor tweaks
Avoid double label for same properties in single-column. Onion Skinning: Group custom colors together, and frame before/after together. Small changes to tooltips.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_gpencil.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_gpencil.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index d46431afef4..90dc86a20bb 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -215,7 +215,7 @@ class DATA_PT_gpencil_layer_optionpanel(LayerDataButtonsPanel, Panel):
layout.enabled = not gpl.lock
col = layout.column(align=True)
col.prop(gpl, "tint_color")
- col.prop(gpl, "tint_factor", slider=True)
+ col.prop(gpl, "tint_factor", text="Factor", slider=True)
# Offsets - Thickness
col = layout.row(align=True)
@@ -236,10 +236,10 @@ class DATA_PT_gpencil_parentpanel(LayerDataButtonsPanel, Panel):
layout.use_property_decorate = False
gpl = context.active_gpencil_layer
- col = layout.column(align=True)
+ col = layout.column()
col.active = not gpl.lock
- col.prop(gpl, "parent", text="Parent")
- col.prop(gpl, "parent_type", text="Parent Type")
+ col.prop(gpl, "parent")
+ col.prop(gpl, "parent_type", text="Type")
parent = gpl.parent
if parent and gpl.parent_type == 'BONE' and parent.type == 'ARMATURE':