[Bf-blender-cvs] [6bc01222c63] master: Cleanup: Sync header+implementaiton definition.

Jeroen Bakker noreply at git.blender.org
Fri Mar 5 10:58:14 CET 2021


Commit: 6bc01222c63b235e60578966a486a920ca6ce495
Author: Jeroen Bakker
Date:   Fri Mar 5 09:47:50 2021 +0100
Branches: master
https://developer.blender.org/rB6bc01222c63b235e60578966a486a920ca6ce495

Cleanup: Sync header+implementaiton definition.

Gave warning on Windows platform. There are more of these cases.

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

M	source/blender/blenkernel/BKE_mesh_mirror.h
M	source/blender/editors/include/ED_object.h

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

diff --git a/source/blender/blenkernel/BKE_mesh_mirror.h b/source/blender/blenkernel/BKE_mesh_mirror.h
index a91f0787e68..7b230b04410 100644
--- a/source/blender/blenkernel/BKE_mesh_mirror.h
+++ b/source/blender/blenkernel/BKE_mesh_mirror.h
@@ -46,7 +46,7 @@ void BKE_mesh_mirror_apply_mirror_on_axis(struct Main *bmain,
 struct Mesh *BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(struct MirrorModifierData *mmd,
                                                                struct Object *ob,
                                                                const struct Mesh *mesh,
-                                                               int axis);
+                                                               const int axis);
 
 #ifdef __cplusplus
 }
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h
index 5dfce6071f0..0767ce21382 100644
--- a/source/blender/editors/include/ED_object.h
+++ b/source/blender/editors/include/ED_object.h
@@ -163,8 +163,8 @@ extern struct EnumPropertyItem prop_make_parent_types[];
 bool ED_object_parent_set(struct ReportList *reports,
                           const struct bContext *C,
                           struct Scene *scene,
-                          struct Object *ob,
-                          struct Object *par,
+                          struct Object *const ob,
+                          struct Object *const par,
                           int partype,
                           const bool xmirror,
                           const bool keep_transform,



More information about the Bf-blender-cvs mailing list