Cleanup: rename transform UI values
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 Aug 2018 21:59:49 +0000 (07:59 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 Aug 2018 22:02:36 +0000 (08:02 +1000)
See: T54858

source/blender/editors/transform/transform_ops.c

index df118d7a2724c63a2e303f84fabcf0e847862724..7120158ab46bdb7fc5a782c65cf00a4a572b5f42 100644 (file)
@@ -628,7 +628,7 @@ static void TRANSFORM_OT_translate(struct wmOperatorType *ot)
        ot->poll   = ED_operator_screenactive;
        ot->poll_property = transform_poll_property;
 
-       RNA_def_float_vector_xyz(ot->srna, "value", 3, NULL, -FLT_MAX, FLT_MAX, "Vector", "", -FLT_MAX, FLT_MAX);
+       RNA_def_float_vector_xyz(ot->srna, "value", 3, NULL, -FLT_MAX, FLT_MAX, "Move", "", -FLT_MAX, FLT_MAX);
 
        Transform_Properties(ot, P_CONSTRAINT | P_PROPORTIONAL | P_MIRROR | P_ALIGN_SNAP | P_OPTIONS | P_GPENCIL_EDIT);
 }
@@ -649,7 +649,7 @@ static void TRANSFORM_OT_resize(struct wmOperatorType *ot)
        ot->poll   = ED_operator_screenactive;
        ot->poll_property = transform_poll_property;
 
-       RNA_def_float_vector(ot->srna, "value", 3, VecOne, -FLT_MAX, FLT_MAX, "Vector", "", -FLT_MAX, FLT_MAX);
+       RNA_def_float_vector(ot->srna, "value", 3, VecOne, -FLT_MAX, FLT_MAX, "Scale", "", -FLT_MAX, FLT_MAX);
 
        Transform_Properties(
                ot, P_CONSTRAINT | P_PROPORTIONAL | P_MIRROR | P_GEO_SNAP | P_OPTIONS | P_GPENCIL_EDIT | P_CENTER);
@@ -681,7 +681,7 @@ static void TRANSFORM_OT_skin_resize(struct wmOperatorType *ot)
        ot->poll   = skin_resize_poll;
        ot->poll_property = transform_poll_property;
 
-       RNA_def_float_vector(ot->srna, "value", 3, VecOne, -FLT_MAX, FLT_MAX, "Vector", "", -FLT_MAX, FLT_MAX);
+       RNA_def_float_vector(ot->srna, "value", 3, VecOne, -FLT_MAX, FLT_MAX, "Scale", "", -FLT_MAX, FLT_MAX);
 
        Transform_Properties(ot, P_CONSTRAINT | P_PROPORTIONAL | P_MIRROR | P_GEO_SNAP | P_OPTIONS | P_NO_TEXSPACE);
 }
@@ -1018,7 +1018,7 @@ static void TRANSFORM_OT_seq_slide(struct wmOperatorType *ot)
        ot->cancel = transform_cancel;
        ot->poll   = ED_operator_sequencer_active;
 
-       RNA_def_float_vector_xyz(ot->srna, "value", 2, NULL, -FLT_MAX, FLT_MAX, "Vector", "", -FLT_MAX, FLT_MAX);
+       RNA_def_float_vector_xyz(ot->srna, "value", 2, NULL, -FLT_MAX, FLT_MAX, "Offset", "", -FLT_MAX, FLT_MAX);
 
        Transform_Properties(ot, P_SNAP);
 }