Closed fire closed 1 month ago
Thanks for catching this, it is not supposed to crash. Feel free to send your patch as a PR for reviews and discussions.
For DedupePropVerts
, I don't think we should have vertLabels[v] >= numLabels
? This sounds like a bug elsewhere.
And even better, can you show us your crash by making a corresponding TEST
? I have no way to repro the issue from your description. You can use imported models by following this example: https://github.com/elalish/manifold/blob/master/test/boolean_complex_test.cpp#L948-L956
@fire I know you have precious little time, but is there any way to assign someone who does from your side so we can actually follow up on your issues? This fire-and-forget approach to issue generation isn't working super well for collaboration.
I was working with someone on our side in a pull request, but we never got great minimum recreation projects for the bug that you requested.
One of the problems is the crash is on interactive use and we can't save the result.
The Godot Engine team on a whole is deep in trying to get Godot 4.3 released and we're on RC stage. So there's less will to try to review 4.4+ features
Got it, thanks for the context. So this may not be a crash in Manifold at all? I'll leave it open for now, but we'll probably have to close as no repro eventually.
I tested it. I think this change fixed it
Thanks - if it shows up again, feel free to ping us here to reopen this.
Teachers have said that we should probably check pre-conditions before using GetLabels or DedupePropVerts, but it's hard to ensure the contract is correct.
I was able to cause manifold to crash modifying a text mesh from
Godot
toGodot is cool!
with a union operation with a rectangular prism.Not sure exactly how to proceed.
https://gist.github.com/31/c3c4bace42d4ca550ae6badf0f2b7cf9