[Bf-blender-cvs] [f12e7de7c0e] temp-lanpr-staging: Cleanup: Minor change to previous commit
Antonio Vazquez
noreply at git.blender.org
Fri Aug 16 03:04:56 CEST 2019
Commit: f12e7de7c0e42eb6dc1fa5ed47869ba8d43dd835
Author: Antonio Vazquez
Date: Thu Aug 15 13:17:28 2019 +0200
Branches: temp-lanpr-staging
https://developer.blender.org/rBf12e7de7c0e42eb6dc1fa5ed47869ba8d43dd835
Cleanup: Minor change to previous commit
===================================================================
M source/blender/draw/engines/gpencil/gpencil_engine.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index db216c5eb2d..efe67e1ead0 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -565,7 +565,7 @@ static void gpencil_add_draw_data(void *vedata, Object *ob)
bGPdata *gpd = (bGPdata *)ob->data;
const bool is_multiedit = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gpd);
const DRWContextState *draw_ctx = DRW_context_state_get();
- View3D *v3d = draw_ctx->v3d;
+ const View3D *v3d = draw_ctx->v3d;
int i = stl->g_data->gp_cache_used - 1;
tGPencilObjectCache *cache_ob = &stl->g_data->gp_object_cache[i];
More information about the Bf-blender-cvs
mailing list