Fix T60051: Wrong stroke projection when viewmode set to Front
authorAntonioya <blendergit@gmail.com>
Wed, 2 Jan 2019 16:43:09 +0000 (17:43 +0100)
committerAntonioya <blendergit@gmail.com>
Wed, 2 Jan 2019 16:43:27 +0000 (17:43 +0100)
commit0ee97bd5c42bf64021819c8571f4e9346abb23b9
tree3f283c9cd5f6411e6bdfae9f5126e634a4ffc982
parentd903eb6129fba1450e6c53c5b7eaa6b1c44ab7cf
Fix T60051: Wrong stroke projection when viewmode set to Front

As the z-depth is calculated using the internal drawing, if we use the front mode the z-depth is wrong. The Front or Back mode must be used only for display, but not for calculation.
source/blender/editors/gpencil/drawgpencil.c