Fix: #27861 bevel angle limit at 90° wasn't working well on cube, tweaked

epsilon value to be a bit smaller.
This commit is contained in:
Brecht Van Lommel 2011-07-05 08:28:54 +00:00
parent 61fc839200
commit 1ff54f91ff

@ -1002,7 +1002,7 @@ static BME_Mesh *BME_bevel_initialize(BME_Mesh *bm, int options, int UNUSED(defg
}
/* edge pass */
threshold = (float)cos((angle + 0.00001) * M_PI / 180.0);
threshold = (float)cos((angle + 0.001) * M_PI / 180.0);
for (e=bm->edges.first; e; e=e->next) {
e->tflag1 = BME_BEVEL_ORIG;
weight = 0.0;