the3dadvantage/Modeling-Cloth

Seg fault for collada_export

Closed this issue · 4 comments

Blender 2.79 with macOS Sierra and with High Sierra crashing, minimal re-create is activate modeling_cloth to plane and attempt default collada export.

Currently no work-around is found, even disabling the add-on before export causes the crash. Do you have any advice?

Only further detail that can be provided at the moment is that the seg-fault/bug can be isolated down to presence of either shape-keys aside from Basis. The data causing corruption must exist in shape keys. Deleting all shape-keys other than the default Basis one mitigates the error. This is a significant bug, as it corrupts the entire scene.

screen shot 2018-01-27 at 16 18 21

OK 👌 I've got a decent work-around for this! The crash only happens with built-in DAE exporter, not FBX or glTF. It only occurs with default exporter when shape-keys are enabled. Simply not exporting shape keys avoids that totally.

However, if shape keys are important to the export, there is this excellent add-on from the Godot Engine repo, "Better Collada Exporter" which works just fine:

https://github.com/godotengine/collada-exporter

Worth noting that "Shape Keys" are off by default with the Godot improved DAE exporter. The problem is likely with the default DAE exporter, not this add-on.

Collada export fails for any object with shape keys. Just do a new shape from mix, then collapse all shape keys before export.