[Bf-blender-cvs] [91b8e24db3b] master: Cleanup: don't use plural for forward/backward enum

Campbell Barton noreply at git.blender.org
Fri Jun 21 00:41:59 CEST 2019


Commit: 91b8e24db3bce0d45203dcaf720bbbf472a59c1d
Author: Campbell Barton
Date:   Fri Jun 21 08:30:48 2019 +1000
Branches: master
https://developer.blender.org/rB91b8e24db3bce0d45203dcaf720bbbf472a59c1d

Cleanup: don't use plural for forward/backward enum

Match existing enums.

Also use the term 'strip', instead of a 'clip'
(again, follow existing terminology, clip is used for movie-clip strips).

===================================================================

M	source/blender/makesrna/intern/rna_sequencer.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 3e3ef3a8f61..f39f5eba52f 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -1958,8 +1958,8 @@ static void rna_def_filter_video(StructRNA *srna)
   };
 
   static const EnumPropertyItem playback_direction_items[] = {
-      {0, "FORWARDS", 0, "Forwards", "Play clip forwards"},
-      {SEQ_REVERSE_FRAMES, "BACKWARDS", 0, "Backwards", "Play clip backwards"},
+      {0, "FORWARD", 0, "Forwards", "Play strip forwards"},
+      {SEQ_REVERSE_FRAMES, "BACKWARD", 0, "Backwards", "Play strip backwards"},
       {0, NULL, 0, NULL, NULL},
   };
 
@@ -1992,7 +1992,7 @@ static void rna_def_filter_video(StructRNA *srna)
   prop = RNA_def_property(srna, "playback_direction", PROP_ENUM, PROP_NONE); /* as an enum */
   RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
   RNA_def_property_enum_items(prop, playback_direction_items);
-  RNA_def_property_ui_text(prop, "Playback Direction", "Play clip forwards or backwards");
+  RNA_def_property_ui_text(prop, "Playback Direction", "Play strip forwards or backwards");
   RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update");
 
   prop = RNA_def_property(srna, "color_multiply", PROP_FLOAT, PROP_UNSIGNED);
@@ -2408,7 +2408,8 @@ static void rna_def_sound(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "show_waveform", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_AUDIO_DRAW_WAVEFORM);
-  RNA_def_property_ui_text(prop, "Display Waveform", "Display the audio waveform inside the clip");
+  RNA_def_property_ui_text(
+      prop, "Display Waveform", "Display the audio waveform inside the strip");
   RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, NULL);
 
   rna_def_input(srna);



More information about the Bf-blender-cvs mailing list