hypar-io / Elements

The smallest useful BIM.
https://www.hypar.io
MIT License
354 stars 74 forks source link

ModelText broken when passing a list of text objects #981

Closed anthonie-kramer closed 1 year ago

anthonie-kramer commented 1 year ago

Describe the bug ModelText doesn't display properly when passing a list of text objects. It will work when passing a list with a single text object.

To Reproduce Steps to reproduce the behavior: use output.Model.AddElement(new ModelText(list, ...)) to create a ModelText object... If the list contains one object the display works properly, if the list contains multiple objects the display is broken (bad meshing)

Expected behavior Clear text display

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

anthonie-kramer commented 1 year ago

Fixed by Elements 2.0.0.alpha