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:
authorFalk David <falkdavid@gmx.de>2021-02-15 17:44:52 +0300
committerFalk David <falkdavid@gmx.de>2021-02-15 17:44:52 +0300
commit0df76ecbf3468ba2f23f671009cbdea9fe83c928 (patch)
tree25fbb6418739eaeeb65b4925e7199cb9aea4e5e8 /source/blender/draw/engines/gpencil/gpencil_engine.c
parentd3960164163c910d5031a8f076c41b39e0a5503d (diff)
Cleanup: Remove code duplication (merge error)
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_engine.c')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_engine.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index e738b0d063c..e35b8bc2bbe 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -629,14 +629,6 @@ void GPENCIL_cache_populate(void *ved, Object *ob)
}
}
- /* When render in background the active frame could not be properly set due thread priority
- * better set again. This is not required in viewport. */
- if (txl->render_depth_tx) {
- LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {
- gpl->actframe = BKE_gpencil_layer_frame_get(gpl, pd->cfra, GP_GETFRAME_USE_PREV);
- }
- }
-
BKE_gpencil_visible_stroke_iter(is_final_render ? pd->view_layer : NULL,
ob,
gpencil_layer_cache_populate,