Fixtures #121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The fixture components RectangleBoxBody, Boundaries, and PolygonBody will throw the error in qmlscene: "cannot assign object to list". Circle, Box, and CircleBody work fine.
I have tried to include the components inside brackets (fixtures: [RectangleBoxBody{} ] ), but it still threw the same error.
I see why this happens, it's a type issue. RectangleBoxBody is actually a Rectangle that contains a Body. We'd have to make the Body the parent of the Rectangle, I'll have to think about that a bit.