Free Motion Capture for Everyone πβ¨
TypeScript
polish
jonmatthis3d429bd74c63
diff --git a/freemocap-ui/src/components/viewport3d/renderers/KeypointsRenderer.tsx b/freemocap-ui/src/components/viewport3d/renderers/KeypointsRenderer.tsxindex b84a5790..28e1b5ae 100644--- a/freemocap-ui/src/components/viewport3d/renderers/KeypointsRenderer.tsx+++ b/freemocap-ui/src/components/viewport3d/renderers/KeypointsRenderer.tsx@@ -83,8 +83,10 @@ function KeypointLayer({ subscribeKey, color, radius, statsKey, colorMode = "uniconst pt = pts[name];if (pt) {const style = colorMode === "byBodyPart" ? getPointStyle(name) : null;+ let scale = style ? style.scale : radius;+ if (name.includes("hand")) scale *= 0.5; // smaller radius for hand keypointsDUMMY.position.set(pt.x, pt.y, pt.z);- DUMMY.scale.setScalar(style ? style.scale : radius);+ DUMMY.scale.setScalar(scale);mesh.setColorAt(idx, style ? style.color : color);count++;} else {diff --git a/freemocap/core/blender/export_to_blender.py b/freemocap/core/blender/export_to_blender.pyindex 9d135407..68246c53 100644--- a/freemocap/core/blender/export_to_blender.py+++ b/freemocap/core/blender/export_to_blender.py@@ -93,7 +93,7 @@ def export_to_blender(if blender_process.returncode != 0:logging.error(blender_process.stderr.read().decode())if not Path(blend_file_path).is_file():- raise RuntimeError(f"Blender executable not found at: {blend_file_path}")+ raise RuntimeError(f"Blender output file not found at: {blend_file_path}")elif Path(blend_file_path).stat().st_size == 0:raise RuntimeError(f"Blender file was created but is empty at: {blend_file_path}")