KaiKostack / bullet-constraints-builder

Add-on for Blender to connect rigid bodies via constraints in a physical plausible way. (You only need the ZIP file for installation in Blender. Click the filename and at the next page "Download", right click and "Save As" won't work!)
https://inachuslaurea.wordpress.com
GNU General Public License v2.0
135 stars 21 forks source link

Bullet Constraints Builder crashes when clearing constraints #2

Closed iamsmiths closed 7 years ago

iamsmiths commented 7 years ago

A common crash/error issue is reported by the Bullet Constraints builder when trying to clear the constraints. Once the error occurs (see screenshot) the blend can no longer be used by the bullet constraints builder tool and the constraints cannot be cleared as the error repeats each time.

Is there a way to reliably clear all constraints without this error occurring or is a fix needed? Appears to occur when deleting an element, then clearing the constraints, although this does not happen all the time.

Using v2.45 with blender 2.78a

blender bullet error

Cheers

KaiKostack commented 7 years ago

Fix committed, should work now. Thanks for reporting.

iamsmiths commented 7 years ago

Still getting the same error @ line 91 and line 497 when trying to clear all constraints

KaiKostack commented 7 years ago

Looks like you haven't updated the BCB properly. Even if the bug is still there then line numbers would have changed.

iamsmiths commented 7 years ago

I removed the addon from the user preferences, downloaded the new zip and installed....is there a step i've missed? cheers

KaiKostack commented 7 years ago

This should actually work, that's strange. Please remove the add-on again and then try to manually delete following subfolder from the Blender folder (if exist): 2.78\scripts\addons\kk_bullet_constraints_builder In case there is also an old kk_bullet_constraints_builder.zip to be found in one of the subfolders, delete it as well. After that you should be able to reinstall the add-on cleanly. Let me know if that was the cause.

iamsmiths commented 7 years ago

All good. I think there were still files in the .config directory. I ended up removing blender completely, deleting the blender directory under .config as I could see the error referencing files there. Reinstalled blender and bullet constraints builder and reported error has been resolved. Cheers