[Bf-blender-cvs] [efa3ba174bf] greasepencil-object: GPencil: Change Loop option for Onion Skin
Antonio Vazquez
noreply at git.blender.org
Fri Feb 14 18:46:21 CET 2020
Commit: efa3ba174bf03fce2324b16a6cb1a61244ea6a3b
Author: Antonio Vazquez
Date: Fri Feb 14 18:35:58 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rBefa3ba174bf03fce2324b16a6cb1a61244ea6a3b
GPencil: Change Loop option for Onion Skin
Now is Show Start Frame
===================================================================
M release/scripts/startup/bl_ui/properties_data_gpencil.py
M source/blender/makesrna/intern/rna_gpencil.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index bb0db30ec72..4ed5264549f 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -273,7 +273,7 @@ class DATA_PT_gpencil_onion_skinning_display(DataButtonsPanel, Panel):
col.prop(gpd, "use_onion_fade", text="Fade")
sub = layout.column()
sub.active = gpd.onion_mode in {'RELATIVE', 'SELECTED'}
- sub.prop(gpd, "use_onion_loop", text="Loop")
+ sub.prop(gpd, "use_onion_loop", text="Show Start Frame")
class GPENCIL_MT_gpencil_vertex_group(Menu):
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 2cde64b47d3..c5b6a24d4ea 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -2070,10 +2070,8 @@ static void rna_def_gpencil_data(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_onion_loop", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "onion_flag", GP_ONION_LOOP);
RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0);
- RNA_def_property_ui_text(prop,
- "Loop",
- "Display first onion keyframes using next frame color to show "
- "indication of loop start frame");
+ RNA_def_property_ui_text(
+ prop, "Show Start Frame", "Display onion keyframes for looping animations");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
prop = RNA_def_property(srna, "onion_factor", PROP_FLOAT, PROP_NONE);
More information about the Bf-blender-cvs
mailing list