[Bf-blender-cvs] [b07db54cada] master: Cleanup: clang-format

Brecht Van Lommel noreply at git.blender.org
Thu Sep 26 14:37:54 CEST 2019


Commit: b07db54cadaf4fd3eb73958dd963fc414085d9c0
Author: Brecht Van Lommel
Date:   Thu Sep 26 14:37:30 2019 +0200
Branches: master
https://developer.blender.org/rBb07db54cadaf4fd3eb73958dd963fc414085d9c0

Cleanup: clang-format

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

M	source/blender/editors/armature/pose_transform.c
M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/armature/pose_transform.c b/source/blender/editors/armature/pose_transform.c
index 7229002dcbd..55c9b661074 100644
--- a/source/blender/editors/armature/pose_transform.c
+++ b/source/blender/editors/armature/pose_transform.c
@@ -574,8 +574,8 @@ static bPoseChannel *pose_bone_do_paste(Object *ob,
   }
 
   /* only loc rot size
-    * - only copies transform info for the pose
-    */
+   * - only copies transform info for the pose
+   */
   copy_v3_v3(pchan->loc, chan->loc);
   copy_v3_v3(pchan->size, chan->size);
   pchan->flag = chan->flag;
@@ -674,9 +674,9 @@ static bPoseChannel *pose_bone_do_paste(Object *ob,
   if (chan->prop) {
     if (pchan->prop) {
       /* if we have existing properties on a bone, just copy over the values of
-        * matching properties (i.e. ones which will have some impact) on to the
-        * target instead of just blinding replacing all [
-        */
+       * matching properties (i.e. ones which will have some impact) on to the
+       * target instead of just blinding replacing all [
+       */
       IDP_SyncGroupValues(pchan->prop, chan->prop);
     }
     else {
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index b97857ab7b9..51c668ed43c 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -3871,15 +3871,8 @@ void MESH_OT_knife_cut(wmOperatorType *ot)
   RNA_def_enum(ot->srna, "type", knife_items, KNIFE_EXACT, "Type", "");
 
   /* internal */
-  RNA_def_int(ot->srna,
-              "cursor",
-              WM_CURSOR_KNIFE,
-              0,
-              WM_CURSOR_NUM,
-              "Cursor",
-              "",
-              0,
-              WM_CURSOR_NUM);
+  RNA_def_int(
+      ot->srna, "cursor", WM_CURSOR_KNIFE, 0, WM_CURSOR_NUM, "Cursor", "", 0, WM_CURSOR_NUM);
 }
 
 /** \} */



More information about the Bf-blender-cvs mailing list