Fix T65212: Cycles_render_layer test grease pencil crashes.
authorAntonioya <blendergit@gmail.com>
Tue, 28 May 2019 08:24:51 +0000 (10:24 +0200)
committerAntonioya <blendergit@gmail.com>
Tue, 28 May 2019 08:24:51 +0000 (10:24 +0200)
commit1cf27668b9c842f7d2a00f1bceacdb362ac88ff1
tree517765f93c25ed28998dc921223ca876d8404edd
parent1008d9c73567780ec22bea6a0b27f57e60ea403d
Fix T65212: Cycles_render_layer test grease pencil crashes.

Theme colors should not be accessed for rendering.

Also some minor cleanups.

Thanks @brecht for catching the bug.
source/blender/draw/engines/gpencil/gpencil_engine.c