Blender Git Commit Log

Git Commits -> Revision 84429e5

Revision 84429e5 by Sergey Sharybin (master)
June 10, 2013, 09:45 (GMT)
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.

Commit Details:

Full Hash: 84429e5d39fc6f0923794484f17d886aa212be69
SVN Revision: 57336
Parent Commit: cae0d9d
Lines Changed: +13, -1

1 Modified Path:

/source/blender/editors/transform/transform_generics.c (+13, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021