[Bf-blender-cvs] [f79ad428085] master: GPencil: Cleanup extra lines
Antonioya
noreply at git.blender.org
Sun Mar 17 20:04:19 CET 2019
Commit: f79ad428085edd8289f37027ba3d5ed3a52bce67
Author: Antonioya
Date: Sun Mar 17 20:04:09 2019 +0100
Branches: master
https://developer.blender.org/rBf79ad428085edd8289f37027ba3d5ed3a52bce67
GPencil: Cleanup extra lines
===================================================================
M source/blender/editors/gpencil/gpencil_fill.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index 36202bdac0a..32833250d49 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -240,7 +240,6 @@ static void gp_draw_datablock(tGPDfill *tgpf, const float ink[4])
tgpw.dflag = 0;
tgpw.disable_fill = 1;
tgpw.dflag |= (GP_DRAWFILLS_ONLY3D | GP_DRAWFILLS_NOSTATUS);
-
glEnable(GL_BLEND);
@@ -1377,7 +1376,6 @@ static int gpencil_fill_modal(bContext *C, wmOperator *op, const wmEvent *event)
in_bounds = BLI_rcti_isect_pt(&ar->winrct, event->x, event->y);
if ((in_bounds) && (ar->regiontype == RGN_TYPE_WINDOW)) {
-
/* TODO GPXX: Verify the mouse click is right for any window size */
tgpf->center[0] = event->mval[0];
tgpf->center[1] = event->mval[1];
More information about the Bf-blender-cvs
mailing list