Fix T61190: Crash in particles distribution
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Feb 2019 15:38:03 +0000 (16:38 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Feb 2019 15:38:03 +0000 (16:38 +0100)
commit49e07dfdfbe5edf133ec9a5f1ffa7cd8ac05c3a3
tree9f6bf006cc8c089f54f601b3745e442b8c54893a
parent8c87af74409a3e6681698ba1bf150dd6155e202f
Fix T61190: Crash in particles distribution

Was visible with certain configuration only, is a numeric
instability caused by degenerate ray direction.

Not sure the distribution is correct, just fixing crash
which was caused by usage of watertight intersection.
source/blender/blenlib/intern/math_geom.c