Cleanup: Minor change to previous commit

This commit is contained in:
Antonio Vazquez 2019-08-15 13:17:28 +02:00
parent 143a44caeb
commit 9e54e6bdc5
1 changed files with 1 additions and 1 deletions

View File

@ -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];