diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-06-10 13:45:51 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-06-10 13:45:51 +0400 |
commit | 84429e5d39fc6f0923794484f17d886aa212be69 (patch) | |
tree | 10aca14be684f86cde6ab199d0717b4131c8d048 /source/blender/blenlib/BLI_graph.h | |
parent | cae0d9df523f9bb0a19a9487541be3d05197b940 (diff) |
Fix #35683: Addon working fine in console. But crashed when click GUI button.
Crash happened in ED_view3d_calc_zfac and happend in cases operator was invoked
from a region different from RGN_TYPE_WINDOW.
For a transformation zfac is only used in convertViewVec in cases region is
RGN_TYPE_WINDOW, so solved by just adding extra check in calculateCenter
for this particular case.
Diffstat (limited to 'source/blender/blenlib/BLI_graph.h')
0 files changed, 0 insertions, 0 deletions