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:
authorJoshua Leung <aligorith@gmail.com>2015-12-07 08:46:45 +0300
committerJoshua Leung <aligorith@gmail.com>2015-12-07 08:46:45 +0300
commit2167d521cc53e2ea77b1dbaf1f38181a2136393b (patch)
tree024818f8e25d8aa1be1baf3cecf7cc233debf17b
parentca966644a863f736311af0a5f8435cddd5edcb01 (diff)
GPencil: Do not show "stroke editing" indicator when in "Only Render" mode in the 3D View
-rw-r--r--source/blender/editors/gpencil/drawgpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index dfbd9c3f888..cfb43266f64 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -1322,7 +1322,7 @@ void ED_gpencil_draw_view3d(wmWindowManager *wm, Scene *scene, View3D *v3d, AReg
gp_draw_data_all(scene, gpd, offsx, offsy, winx, winy, CFRA, dflag, v3d->spacetype);
/* draw status text (if in screen/pixel-space) */
- if (only3d == false) {
+ if ((only3d == false) && !(dflag & GP_DRAWDATA_NOSTATUS)) {
gp_draw_status_text(gpd, ar);
}
}