Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-02-06 13:47:46 +0300
committerJacques Lucke <mail@jlucke.com>2019-02-06 13:49:12 +0300
commit6202bc82b858d8f6876c6c20ec62dd0a16209087 (patch)
tree8a3e0bf4ef94fb91c6190c743d00a17aa77eb7dc /release/scripts/startup/bl_ui/properties_object.py
parentf7613cf41ceb4d31d8a869e27cef4781a83e09db (diff)
Fix T60935: More numerically stable distance to ray computation
The old function was numerically very unstable for 2 reasons: computing the square and then subtracting the results. In the example in T60935 all precision was lost and it returned the distance 0 for all points. I also removed the `depth` parameter since it wasn't used and computing it would have made the code more complicated. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4308
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_object.py')
0 files changed, 0 insertions, 0 deletions