diff --git a/CITATION.cff b/CITATION.cff index e974931..17a2c64 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -2,7 +2,7 @@ cff-version: 1.2.0 message: "You may want to cite this software like below." title: "Read, write, edit and create .bvh files with hierarchical 3D transforms" date-released: 2022-12-17 -version: 1.4.5 +version: 1.4.6 authors: - family-names: Dolch given-names: Eric diff --git a/bvhio/lib/bvh/BvhJoint.py b/bvhio/lib/bvh/BvhJoint.py index 2194b28..a5a06bd 100644 --- a/bvhio/lib/bvh/BvhJoint.py +++ b/bvhio/lib/bvh/BvhJoint.py @@ -39,7 +39,7 @@ def getTip(self) -> glm.vec3: elif children > 1: tip = sum(child.Offset for child in self.Children) / children else: - tip = self.EndSite if glm.length(self.EndSite) > 0.001 else glm.vec3(0, 1, 0) + tip = self.EndSite return tip if glm.length2(tip) > 0.001 else glm.vec3(0, 1, 0) diff --git a/pyproject.toml b/pyproject.toml index f02b549..6a72e59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "bvhio" -version = "1.4.5" +version = "1.4.6" authors = [ { name="Wasserwecken", email="author@example.com" }, ] description = "Read, write, edit and create .bvh files with hierarchical 3D transforms." readme = "README.md"