Fix T50081: Grease pencil parented rotation problem
authorAntonioya <blendergit@gmail.com>
Sat, 19 Nov 2016 21:41:37 +0000 (22:41 +0100)
committerAntonioya <blendergit@gmail.com>
Sat, 19 Nov 2016 21:41:37 +0000 (22:41 +0100)
commitdd82d70bc5eade5dddd6d20ef81eb81ba43463da
treea16fa347ee5ecc89da98671bce1a473448ee2a48
parent8c93178c964bac93684fe7ed5d9c4a7c4d9e572a
Fix T50081: Grease pencil parented rotation problem

When the parent object matrix change after the layer was parented, the
inverse matrix for strokes must be updated when editing strokes or the
transformations will be wrong.
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_utils.c
source/blender/editors/include/ED_gpencil.h