[Bf-blender-cvs] [2167d52] GPencil_Editing_Stage3: GPencil: Do not show "stroke editing" indicator when in "Only Render" mode in the 3D View

Joshua Leung noreply at git.blender.org
Mon Dec 7 13:38:15 CET 2015


Commit: 2167d521cc53e2ea77b1dbaf1f38181a2136393b
Author: Joshua Leung
Date:   Mon Dec 7 18:46:45 2015 +1300
Branches: GPencil_Editing_Stage3
https://developer.blender.org/rB2167d521cc53e2ea77b1dbaf1f38181a2136393b

GPencil: Do not show "stroke editing" indicator when in "Only Render" mode in the 3D View

===================================================================

M	source/blender/editors/gpencil/drawgpencil.c

===================================================================

diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index dfbd9c3..cfb4326 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);
 	}
 }




More information about the Bf-blender-cvs mailing list