diff --git a/io_scene_dae/export_dae.py b/io_scene_dae/export_dae.py index f5662cf..b9d58a3 100644 --- a/io_scene_dae/export_dae.py +++ b/io_scene_dae/export_dae.py @@ -615,12 +615,13 @@ def export_mesh(self, node, armature=None, skeyindex=-1, skel_source=None, name = node.vertex_groups[vg.group].name if (name in si["bone_index"]): - # TODO: Try using 0.0001 since Blender uses - # zero weight - if (vg.weight > 0.001): - v.bones.append(si["bone_index"][name]) - v.weights.append(vg.weight) - wsum += vg.weight + # Using 0.001 since Blender uses zero weight + if (vg.weight < 0.001): + vg.weight = 0.001 + + v.bones.append(si["bone_index"][name]) + v.weights.append(vg.weight) + wsum += vg.weight if (wsum == 0.0): if not self.wrongvtx_report: self.operator.report(