[Bf-blender-cvs] [d58e2c36d9d] greasepencil-refactor: GPencil: Remove double calculation of geometry in Push sculpt brush
Antonio Vazquez
noreply at git.blender.org
Mon Feb 3 18:16:23 CET 2020
Commit: d58e2c36d9d213f869627a0f8adbc53fb1013214
Author: Antonio Vazquez
Date: Mon Feb 3 18:16:17 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rBd58e2c36d9d213f869627a0f8adbc53fb1013214
GPencil: Remove double calculation of geometry in Push sculpt brush
===================================================================
M source/blender/editors/gpencil/gpencil_sculpt_paint.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_sculpt_paint.c b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
index 46c5b15a6e6..67fdbd3dfc6 100644
--- a/source/blender/editors/gpencil/gpencil_sculpt_paint.c
+++ b/source/blender/editors/gpencil/gpencil_sculpt_paint.c
@@ -620,9 +620,6 @@ static bool gp_brush_push_apply(tGP_BrushEditData *gso,
/* compute lock axis */
gpsculpt_compute_lock_axis(gso, pt, save_pt);
- /* Calc geometry data. */
- BKE_gpencil_stroke_geometry_update(gps);
-
/* done */
return true;
}
More information about the Bf-blender-cvs
mailing list