diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-09 13:33:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-09 13:33:34 +0400 |
commit | 0392acc607d26f3fb2681c7d8b0e5ad3a2d50d9a (patch) | |
tree | 0051b765644349483d89f181620a79b35f9dfabc /intern/opencolorio/ocio_capi.h | |
parent | 35e3111475f8366e3c3fa818a2371cf1c6888f91 (diff) |
fix [#36685] crash calculating tangent space data on degenerate geometry
the error was that the range check was done on the float before converting to an int.
now convert to and int first and ensure a valid range on that.
Diffstat (limited to 'intern/opencolorio/ocio_capi.h')
0 files changed, 0 insertions, 0 deletions