-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding first constraint crashes interface #2
Comments
Hmm. The code is splitting faces with more than three edges into triangles, then encountering some badly formed triangles. So it could be that the triangle-splitting code isn't doing the right thing; however, a work-around would be to make sure the model being loaded only has triangular faces (e.g., run the "triangulate" command if processing the model in Blender). |
For what it's worth, there was an obvious bug in the triangulation code, which I have now either fixed or turned into a less obvious bug. |
Messing with blender a little let me get it to avoid crashing and complaining that "this might mess things up", however, the interface still becomes far too slow and unresponsive to ever be usable as soon as the first constraint is added, i.e., the program spends 30 seconds unresponsive, updates the frame, repeats this a few times, then places the constraint somewhere other than where the cursor was/is. |
Agreed; performance on large models isn't great -- it should probably be recomputing the mesh trimming on a background thread so that it doesn't feel as laggy. |
I attempted to run interface.exe on Windows, and it properly displayed the model, but as soon as I tried to add a constraint by pressing c, the program crashed and gave me this output:
Attempting to open the file again using the same model and constraint files cause it to immediately crash. Is this because the model being used cannot be processed by the program, or is this some sort of bug?
The text was updated successfully, but these errors were encountered: