[Bf-blender-cvs] [afe376d0758] greasepencil-object: GPencil: Cleanup: remove unused variable
Charlie Jolly
noreply at git.blender.org
Thu Oct 17 14:47:47 CEST 2019
Commit: afe376d0758deaffba429498d74b94965c3bc5fb
Author: Charlie Jolly
Date: Thu Oct 17 13:47:35 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rBafe376d0758deaffba429498d74b94965c3bc5fb
GPencil: Cleanup: remove unused variable
===================================================================
M source/blender/editors/gpencil/gpencil_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index b5f29d8030a..71c5068b37c 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -3583,9 +3583,6 @@ static void gpencil_add_guide_points(const tGPsdata *p,
/* Use arc sampling for circular guide */
if (guide->type == GP_GUIDE_CIRCULAR) {
- float midpoint[2];
- copy_v2_v2(midpoint, p->guide.origin);
-
float cw = cross_tri_v2(start, p->guide.origin, end);
float angle = angle_v2v2v2(start, p->guide.origin, end);
More information about the Bf-blender-cvs
mailing list