Bug with bevel
Closed, ResolvedPublic

Description

System Information
Windows 10, nvidia gtx 1050 ti

Blender Version
Broken: 2.79
Worked: -

Short description of error
Bevel is not working correctly. It happen if object bigger then 20m. Details in gif file.

Exact steps for others to reproduce the error
Blend file for example. Small object is ok, but big has a problem

Related Objects

Joel Godin (FloridaJo) triaged this task as Confirmed priority.Dec 5 2017, 9:22 PM

I didn't see it go spastic like that, but it does make huge jumps on my machine.

This comment was removed by Bastien Montagne (mont29).

Digging into this a bit, it appears that for certain offset values, the bevel edge offset_l and offset_r values are being set to 0.0 rather than the user-specified offset.

It's easy to see this in action by setting a breakpoint at this line. That block of code will basically only run when the incorrect behavior is exhibited on the example model given.

The problem is in the is_outside_edge function. It does not seem a good idea to use an epsilon to compare floats in that case :\