[Bf-blender-cvs] [f7526d327b8] soc-2019-bevel-profiles: Rest of rename from previous commit PROF_HANDLE_AUTO_ANIM to PROF_HANDLE_AUTO

Hans Goudey noreply at git.blender.org
Thu Aug 1 17:45:02 CEST 2019


Commit: f7526d327b8b8efbeacbef775fe3f8ebb042542b
Author: Hans Goudey
Date:   Thu Aug 1 07:45:04 2019 -0400
Branches: soc-2019-bevel-profiles
https://developer.blender.org/rBf7526d327b8b8efbeacbef775fe3f8ebb042542b

Rest of rename from previous commit
PROF_HANDLE_AUTO_ANIM to PROF_HANDLE_AUTO

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

M	source/blender/makesdna/DNA_profilewidget_types.h
M	source/blender/makesrna/intern/rna_profile.c

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

diff --git a/source/blender/makesdna/DNA_profilewidget_types.h b/source/blender/makesdna/DNA_profilewidget_types.h
index dbddeca89a6..f9250397936 100644
--- a/source/blender/makesdna/DNA_profilewidget_types.h
+++ b/source/blender/makesdna/DNA_profilewidget_types.h
@@ -44,7 +44,7 @@ typedef struct ProfilePoint {
 enum {
   PROF_SELECT = (1 << 0),
   PROF_HANDLE_VECTOR = (1 << 1),
-  PROF_HANDLE_AUTO_ANIM = (1 << 2),
+  PROF_HANDLE_AUTO = (1 << 2),
 };
 
 typedef struct ProfileWidget {
diff --git a/source/blender/makesrna/intern/rna_profile.c b/source/blender/makesrna/intern/rna_profile.c
index b8bb8cd0fb1..a740ad67d2f 100644
--- a/source/blender/makesrna/intern/rna_profile.c
+++ b/source/blender/makesrna/intern/rna_profile.c
@@ -127,7 +127,7 @@ static void rna_def_profilepoint(BlenderRNA *brna)
   PropertyRNA *prop;
 
   static const EnumPropertyItem prop_handle_type_items[] = {
-      {PROF_HANDLE_AUTO_ANIM, "AUTO_CLAMPED", 0, "Auto Clamped Handle", ""},
+      {PROF_HANDLE_AUTO, "AUTO_CLAMPED", 0, "Auto Clamped Handle", ""},
       {PROF_HANDLE_VECTOR, "VECTOR", 0, "Vector Handle", ""},
       {0, NULL, 0, NULL, NULL},
   };
@@ -176,7 +176,7 @@ static void rna_def_profilewidget_points_api(BlenderRNA *brna, PropertyRNA *cpro
   func = RNA_def_function(srna, "remove", "rna_ProfileWidget_remove_point");
   RNA_def_function_flag(func, FUNC_USE_REPORTS);
   RNA_def_function_ui_description(func, "Delete point from profile widget");
-  parm = RNA_def_pointer(func, "point", "ProfilePoint", "", "PointElement to remove");
+  parm = RNA_def_pointer(func, "point", "ProfilePoint", "", "Point to remove");
   RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED | PARM_RNAPTR);
   RNA_def_parameter_clear_flags(parm, PROP_THICK_WRAP, 0);
 }



More information about the Bf-blender-cvs mailing list