methusalah / SplineMesh

A Unity plugin to create curved content in real-time with bézier curves
https://twitter.com/dumas181
MIT License
1.05k stars 104 forks source link

ExtrusionSegment will never set isDirty to false #26

Closed Deukhoofd closed 5 years ago

Deukhoofd commented 5 years ago

The ExtrusionSegment behaviour does set isDirty to true, but doesn't set it to false after computing the vertices. This leads to it computing the segment on every frame, resulting in high CPU usage, and low framerates.

methusalah commented 5 years ago

Thanks for pointing me out, I'll look into it soon.