GP: Rename modifier Time to Time Offset

This commit is contained in:
Antonio Vazquez 2018-10-23 13:16:15 +02:00
parent 7cb0e1499d
commit bc480c4989
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ static int remapTime(
}
GpencilModifierTypeInfo modifierType_Gpencil_Time = {
/* name */ "Time",
/* name */ "Time Offset",
/* structName */ "TimeGpencilModifierData",
/* structSize */ sizeof(TimeGpencilModifierData),
/* type */ eGpencilModifierTypeType_Gpencil,

View File

@ -74,7 +74,7 @@ const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[] = {
{eGpencilModifierType_Offset, "GP_OFFSET", ICON_MOD_DISPLACE, "Offset", "Change stroke location, rotation or scale"},
{eGpencilModifierType_Smooth, "GP_SMOOTH", ICON_MOD_SMOOTH, "Smooth", "Smooth stroke"},
{eGpencilModifierType_Thick, "GP_THICK", ICON_MAN_ROT, "Thickness", "Change stroke thickness"},
{eGpencilModifierType_Time, "GP_TIME", ICON_MOD_DISPLACE, "Time", "Offset keyframes"},
{eGpencilModifierType_Time, "GP_TIME", ICON_MOD_DISPLACE, "Time Offset", "Offset keyframes"},
{0, "", 0, N_("Color"), "" },
{eGpencilModifierType_Color, "GP_COLOR", ICON_GROUP_VCOL, "Hue/Saturation", "Apply changes to stroke colors"},
{eGpencilModifierType_Opacity, "GP_OPACITY", ICON_MOD_MASK, "Opacity", "Opacity of the strokes"},
@ -728,7 +728,7 @@ static void rna_def_modifier_gpenciltime(BlenderRNA *brna)
PropertyRNA *prop;
srna = RNA_def_struct(brna, "TimeGpencilModifier", "GpencilModifier");
RNA_def_struct_ui_text(srna, "Time Modifier", "Time modifier");
RNA_def_struct_ui_text(srna, "Time Offset Modifier", "Time offset modifier");
RNA_def_struct_sdna(srna, "TimeGpencilModifierData");
RNA_def_struct_ui_icon(srna, ICON_MOD_DISPLACE);