[Bf-blender-cvs] [f48164b5ea7] master: Cleanup: rename sculpt_brushes.c -> sculpt_brush_types.c

Campbell Barton noreply at git.blender.org
Fri Jan 7 04:30:21 CET 2022


Commit: f48164b5ea7f41d639e511aee5d336657ebf3106
Author: Campbell Barton
Date:   Fri Jan 7 14:22:02 2022 +1100
Branches: master
https://developer.blender.org/rBf48164b5ea7f41d639e511aee5d336657ebf3106

Cleanup: rename sculpt_brushes.c -> sculpt_brush_types.c

This better differentiates sculpt brush types with brush data-blocks,
since the same sculpt brush type may be used for many brushes.

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

M	source/blender/editors/sculpt_paint/CMakeLists.txt
R100	source/blender/editors/sculpt_paint/sculpt_brushes.c	source/blender/editors/sculpt_paint/sculpt_brush_types.c
M	source/blender/editors/sculpt_paint/sculpt_intern.h

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

diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt
index 517125f016e..5c8d7a9e9b6 100644
--- a/source/blender/editors/sculpt_paint/CMakeLists.txt
+++ b/source/blender/editors/sculpt_paint/CMakeLists.txt
@@ -59,7 +59,7 @@ set(SRC
   sculpt.c
   sculpt_automasking.c
   sculpt_boundary.c
-  sculpt_brushes.c
+  sculpt_brush_types.c
   sculpt_cloth.c
   sculpt_detail.c
   sculpt_dyntopo.c
diff --git a/source/blender/editors/sculpt_paint/sculpt_brushes.c b/source/blender/editors/sculpt_paint/sculpt_brush_types.c
similarity index 100%
rename from source/blender/editors/sculpt_paint/sculpt_brushes.c
rename to source/blender/editors/sculpt_paint/sculpt_brush_types.c
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index cc6044488af..c5abc0b1640 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -1502,7 +1502,7 @@ void SCULPT_OT_dyntopo_detail_size_edit(struct wmOperatorType *ot);
 
 void SCULPT_OT_dynamic_topology_toggle(struct wmOperatorType *ot);
 
-/* sculpt_brushes.c */
+/* sculpt_brush_types.c */
 
 float SCULPT_clay_thumb_get_stabilized_pressure(struct StrokeCache *cache);
 
@@ -1604,7 +1604,7 @@ void SCULPT_do_mask_brush(struct Sculpt *sd,
 void SCULPT_bmesh_topology_rake(
     struct Sculpt *sd, struct Object *ob, struct PBVHNode **nodes, int totnode, float bstrength);
 
-/* end sculpt_brushes.c */
+/* end sculpt_brush_types.c */
 
 /* sculpt_ops.c */
 void SCULPT_OT_brush_stroke(struct wmOperatorType *ot);



More information about the Bf-blender-cvs mailing list