Page MenuHome

Fix T76196: Curve Display hides all curves/wires as soon as any part has faces [due to filling/extrude/etc]
AbandonedPublic

Authored by Philipp Oeser (lichtwerk) on May 1 2020, 12:48 PM.

Details

Summary

Caused by rB6da097136cf4.

The file in the report has some parts of the curve object generate faces
[due to success in filling] and some others dont [where filling isnt
possible].

rB6da097136cf4 disabled the wires/curves drawing whenever any faces
would be generated (looks like this is a bit too 'agressive')
I think the goal should be to draw wires/curves for all parts that dont
generate faces and dont draw them if we have faces.
It would be best to find a way to not do this on a per-object basis, but
on a per-spline basis? (there can always be splines that generate faces
due to filling/extrude/etc and splines that dont in a single object)

But since that is not straightforward afaict, this patch will also draw
wires in the case of 2D curves with a Fill Mode other than None.

Diff Detail

Repository
rB Blender
Branch
T76196 (branched from master)
Build Status
Buildable 7837
Build 7837: arc lint + arc unit