forked from bartvdbraak/blender
A few UI messages fixes.
This commit is contained in:
parent
4e338e894f
commit
6f0ad4ff0f
@ -759,7 +759,7 @@ void MASK_OT_slide_point(wmOperatorType *ot)
|
|||||||
/* flags */
|
/* flags */
|
||||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||||
|
|
||||||
RNA_def_boolean(ot->srna, "slide_feather", 0, "Slide Feather", "First try to slide slide feather instead of vertex");
|
RNA_def_boolean(ot->srna, "slide_feather", 0, "Slide Feather", "First try to slide feather instead of vertex");
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************** toggle cyclic *********************/
|
/******************** toggle cyclic *********************/
|
||||||
|
@ -82,7 +82,7 @@ void MASK_OT_parent_clear(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Clear Parent";
|
ot->name = "Clear Parent";
|
||||||
ot->description = "Clear the masks parenting";
|
ot->description = "Clear the mask's parenting";
|
||||||
ot->idname = "MASK_OT_parent_clear";
|
ot->idname = "MASK_OT_parent_clear";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
@ -160,7 +160,7 @@ void MASK_OT_parent_set(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Make Parent";
|
ot->name = "Make Parent";
|
||||||
ot->description = "Set the masks parenting";
|
ot->description = "Set the mask's parenting";
|
||||||
ot->idname = "MASK_OT_parent_set";
|
ot->idname = "MASK_OT_parent_set";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
|
@ -208,7 +208,7 @@ static int select_all_exec(bContext *C, wmOperator *op)
|
|||||||
void MASK_OT_select_all(wmOperatorType *ot)
|
void MASK_OT_select_all(wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Select or Deselect All";
|
ot->name = "(De)select All";
|
||||||
ot->description = "Change selection of all curve points";
|
ot->description = "Change selection of all curve points";
|
||||||
ot->idname = "MASK_OT_select_all";
|
ot->idname = "MASK_OT_select_all";
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ static void rna_def_maskParent(BlenderRNA *brna)
|
|||||||
{0, NULL, 0, NULL, NULL}};
|
{0, NULL, 0, NULL, NULL}};
|
||||||
|
|
||||||
srna = RNA_def_struct(brna, "MaskParent", NULL);
|
srna = RNA_def_struct(brna, "MaskParent", NULL);
|
||||||
RNA_def_struct_ui_text(srna, "Mask Parent", "Parenting settings for maskign element");
|
RNA_def_struct_ui_text(srna, "Mask Parent", "Parenting settings for masking element");
|
||||||
|
|
||||||
/* use_parent */
|
/* use_parent */
|
||||||
prop = RNA_def_property(srna, "use_parent", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "use_parent", PROP_BOOLEAN, PROP_NONE);
|
||||||
@ -497,7 +497,7 @@ static void rna_def_maskSpline(BlenderRNA *brna)
|
|||||||
rna_def_maskSplinePoint(brna);
|
rna_def_maskSplinePoint(brna);
|
||||||
|
|
||||||
srna = RNA_def_struct(brna, "MaskSpline", NULL);
|
srna = RNA_def_struct(brna, "MaskSpline", NULL);
|
||||||
RNA_def_struct_ui_text(srna, "Mask spline", "Single spline used for defining mash shape");
|
RNA_def_struct_ui_text(srna, "Mask spline", "Single spline used for defining mask shape");
|
||||||
|
|
||||||
/* weight interpolation */
|
/* weight interpolation */
|
||||||
prop = RNA_def_property(srna, "weight_interpolation", PROP_ENUM, PROP_NONE);
|
prop = RNA_def_property(srna, "weight_interpolation", PROP_ENUM, PROP_NONE);
|
||||||
|
@ -1992,27 +1992,27 @@ static void rna_def_userdef_theme_space_nla(BlenderRNA *brna)
|
|||||||
prop = RNA_def_property(srna, "meta_strips", PROP_FLOAT, PROP_COLOR_GAMMA);
|
prop = RNA_def_property(srna, "meta_strips", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "nla_meta");
|
RNA_def_property_float_sdna(prop, NULL, "nla_meta");
|
||||||
RNA_def_property_array(prop, 3);
|
RNA_def_property_array(prop, 3);
|
||||||
RNA_def_property_ui_text(prop, "Meta Strips", "Meta Strip - Unselected. For grouping related strips");
|
RNA_def_property_ui_text(prop, "Meta Strips", "Meta Strip - Unselected (for grouping related strips)");
|
||||||
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "meta_strips_selected", PROP_FLOAT, PROP_COLOR_GAMMA);
|
prop = RNA_def_property(srna, "meta_strips_selected", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "nla_meta_sel");
|
RNA_def_property_float_sdna(prop, NULL, "nla_meta_sel");
|
||||||
RNA_def_property_array(prop, 3);
|
RNA_def_property_array(prop, 3);
|
||||||
RNA_def_property_ui_text(prop, "Meta Strips Selected", "Meta Strip - Selected. For grouping related strips");
|
RNA_def_property_ui_text(prop, "Meta Strips Selected", "Meta Strip - Selected (for grouping related strips)");
|
||||||
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "sound_strips", PROP_FLOAT, PROP_COLOR_GAMMA);
|
prop = RNA_def_property(srna, "sound_strips", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "nla_sound");
|
RNA_def_property_float_sdna(prop, NULL, "nla_sound");
|
||||||
RNA_def_property_array(prop, 3);
|
RNA_def_property_array(prop, 3);
|
||||||
RNA_def_property_ui_text(prop, "Sound Strips",
|
RNA_def_property_ui_text(prop, "Sound Strips",
|
||||||
"Sound Strip - Unselected. For timing speaker sounds");
|
"Sound Strip - Unselected (for timing speaker sounds)");
|
||||||
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "sound_strips_selected", PROP_FLOAT, PROP_COLOR_GAMMA);
|
prop = RNA_def_property(srna, "sound_strips_selected", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "nla_sound_sel");
|
RNA_def_property_float_sdna(prop, NULL, "nla_sound_sel");
|
||||||
RNA_def_property_array(prop, 3);
|
RNA_def_property_array(prop, 3);
|
||||||
RNA_def_property_ui_text(prop, "Sound Strips Selected",
|
RNA_def_property_ui_text(prop, "Sound Strips Selected",
|
||||||
"Sound Strip - Selected. For timing speaker sounds");
|
"Sound Strip - Selected (for timing speaker sounds)");
|
||||||
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
RNA_def_property_update(prop, 0, "rna_userdef_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "tweak", PROP_FLOAT, PROP_COLOR_GAMMA);
|
prop = RNA_def_property(srna, "tweak", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||||
|
Loading…
Reference in New Issue
Block a user