Blender Git Loki
Git Commits -> Revision 2069b3b
Revision 2069b3b by Jeroen Bakker (master) May 29, 2019, 12:48 (GMT) |
DrawManager: Cycles+GPencil Fix for GPencil and Cycles Render draw type. GPencil objects were only shown when overlays were turned on. The cause of this is an optimization we did to not populate any draw engine when an external renderer was used with overlays turned off. This will check if there is any visible GPencil object in the scene. if so it will still perform the loop. `DEG_id_type_any_exists` can check if any object of a certain type_id is in the result. This check is also being used to check if there are any visible grease pencil objects as a precheck in `DRW_render_check_grease_pencil`. Reviewed By: brecht, fclem, antoniov Maniphest Tasks: T65191 Differential Revision: https://developer.blender.org/D4962 |
Commit Details:
Full Hash: 2069b3b888db7ca448317218d3d42234b7fa77eb
Parent Commit: 56176bd
Lines Changed: +60, -36
6 Modified Paths:
/source/blender/depsgraph/DEG_depsgraph_query.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+44, -34) (Diff)
/source/blender/render/intern/source/external_engine.c (+0, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+6, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+44, -34) (Diff)
/source/blender/render/intern/source/external_engine.c (+0, -2) (Diff)