Commit: b5f16581c0d7884bda2ca61c01f4650eb3f3a54a
Author: Antonio Vazquez
Date: Sat Jan 25 12:57:33 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBb5f16581c0d7884bda2ca61c01f4650eb3f3a54a
GPencil: Cleanup - Rename BKE function
===================================================================
M source/blender/blenkernel/BKE_gpencil.h
M source/blender/blenkernel/intern/gpencil.c
===================================================================
diff --git a/source/blender/blenkernel/BKE_gpencil.h
b/source/blender/blenkernel/BKE_gpencil.h
index 94546650b6c..5305309c012 100644
--- a/source/blender/blenkernel/BKE_gpencil.h
+++ b/source/blender/blenkernel/BKE_gpencil.h
@@ -148,7 +148,7 @@ struct bGPDstroke *BKE_gpencil_stroke_add(struct bGPDframe
*gpf,
int totpoints,
short thickness);
-struct bGPDstroke *BKE_gpencil_add_stroke_existing_style(struct bGPDframe *gpf,
+struct bGPDstroke *BKE_gpencil_stroke_add_existing_style(struct bGPDframe *gpf,
struct bGPDstroke
*existing,
int mat_idx,
int totpoints,
diff --git a/source/blender/blenkernel/intern/gpencil.c
b/source/blender/blenkernel/intern/gpencil.c
index c8be8914db1..1efe0ed0371 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -507,7 +507,7 @@ bGPDstroke *BKE_gpencil_stroke_add(bGPDframe *gpf, int
mat_idx, int totpoints, s
}
/* Add a stroke and copy the temporary drawing color value from one of the
existing stroke */
-bGPDstroke *BKE_gpencil_add_stroke_existing_style(
+bGPDstroke *BKE_gpencil_stroke_add_existing_style(
bGPDframe *gpf, bGPDstroke *existing, int mat_idx, int totpoints, short
thickness)
{
bGPDstroke *gps = BKE_gpencil_stroke_add(gpf, mat_idx, totpoints, thickness);
@@ -1896,7 +1896,7 @@ bool BKE_gpencil_stroke_split(bGPDframe *gpf,
/* Handle remaining segments first. */
- new_gps = BKE_gpencil_add_stroke_existing_style(
+ new_gps = BKE_gpencil_stroke_add_existing_style(
gpf, gps, gps->mat_nr, new_count, gps->thickness);
new_pt = new_gps->points; /* Allocated from above. */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs