diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-08-22 15:53:44 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-08-22 17:01:47 +0300 |
commit | eae9b86297876d2172681e880fe2bcc8450a01ed (patch) | |
tree | 0c4621cda03eaf4765a3de98baa50efcdd16e6cc /source/blender/blenkernel/intern/linestyle.c | |
parent | 54fd8176d7e914da9fc834b465c22bffb6f3a620 (diff) |
Fix crash using 'Mesh > Normals > Point to Target' from the header menu
This was working from Alt+N menu but was passing wrong ARegion
(alongside wrong mouse coords) to ED_view3d_win_to_3d_int when called
from the header menu.
Operator context INVOKE_REGION_WIN takes care of this.
This also fixes wrong behavior of 'Mesh > Normals > Rotate' when called
from the header menu.
part of T69019
Reviewers: billreynish, mont29
Maniphest Tasks: T69019
Differential Revision: https://developer.blender.org/D5555
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
0 files changed, 0 insertions, 0 deletions