Fix for duplicated vertices in UV sphere when it's creating with large radius.
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Feb 2012 11:04:56 +0000 (11:04 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Feb 2012 11:04:56 +0000 (11:04 +0000)
commitf0db5e87350ebb984708d2147b92dcd7a2e72ab3
treeec104ce60ea3882a60247d2ebf96cf9b51542c2d
parent65f454a16029dbe963b4700b6e4187671b81a4fe
Fix for duplicated vertices in UV sphere when it's creating with large radius.

Issue was caused by not enough threshold limit used for removing doubles.
Switched to adoptive threshold value calculation based on smallest length
of segments in meridians and parallels.
source/blender/editors/mesh/editmesh_add.c