Page MenuHome

Proposed fix T77156: GPencil Viewlayer filter is not working
ClosedPublic

Authored by Antonio Vazquez (antoniov) on Jun 2 2020, 6:02 PM.

Details

Summary

This feature was removed by error during the refactor.

The filter is used to help in composition to get different layers by viewlayer. This is applied only in final render and never in viewport.

Diff Detail

Repository
rB Blender

Event Timeline

Antonio Vazquez (antoniov) requested review of this revision.Jun 2 2020, 6:02 PM
Antonio Vazquez (antoniov) created this revision.
source/blender/blenkernel/intern/gpencil.c
1886

comment is hard to understand.

source/blender/draw/intern/draw_cache_impl_gpencil.c
369

not sure you want to hide inside the batch creation.

  • GPencil: Use view_layer instead depsgraph
  • GPencil: Move view_layer logic to cache
  • GPencil: Simplify code
This revision is now accepted and ready to land.Jun 3 2020, 12:53 PM