Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-06-28 00:28:44 +0300
committerAntonioya <blendergit@gmail.com>2019-06-28 00:28:44 +0300
commit5dd8c3f0cb83db22e9570119ba35715a4d222a9f (patch)
tree89004c492b1bdb6797dd25bafa59d538eeff9ce4 /source/blender/editors/gpencil
parentd06671b3d9a1469dd03fc68c4506f957e758d18d (diff)
GPencil: Cleanup commented lines from previous commit
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index 03b4dd444d7..b717751d434 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -1217,7 +1217,7 @@ static void gp_stroke_newfrombuffer(tGPsdata *p)
BKE_gpencil_smooth_stroke(gps, i, brush->gpencil_settings->draw_smoothfac - reduce);
BKE_gpencil_smooth_stroke_strength(gps, i, brush->gpencil_settings->draw_smoothfac);
}
- reduce += 0.25f; // reduce the factor
+ reduce += 0.25f; /* reduce the factor */
}
}
/* smooth thickness */
@@ -2393,11 +2393,6 @@ static void gpencil_draw_exit(bContext *C, wmOperator *op)
WM_cursor_modal_restore(CTX_wm_window(C));
}
else {
- ///* or restore paint if 3D view */
- // if ((p) && (p->paintmode == GP_PAINTMODE_ERASER)) {
- // WM_cursor_modal_set(p->win, CURSOR_STD);
- //}
-
/* drawing batch cache is dirty now */
bGPdata *gpd = CTX_data_gpencil_data(C);
if (gpd) {
@@ -2410,8 +2405,6 @@ static void gpencil_draw_exit(bContext *C, wmOperator *op)
gpencil_undo_finish();
/* cleanup */
- // WM_cursor_modal_set(p->win, CURSOR_STD);
-
gp_paint_cleanup(p);
gp_session_cleanup(p);
ED_gpencil_toggle_brush_cursor(C, true, NULL);