From f19771fbb125998f3ebaad88cb567ec5f0b13198 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 9 Dec 2018 12:20:15 +0930 Subject: [PATCH] Fix minimum node radius --- src/skeletondocument.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/skeletondocument.h b/src/skeletondocument.h index bb3d1494..fa83124f 100644 --- a/src/skeletondocument.h +++ b/src/skeletondocument.h @@ -24,7 +24,7 @@ public: } void setRadius(float toRadius) { - if (toRadius < 0) + if (toRadius < 0.005) toRadius = 0.005; else if (toRadius > 1) toRadius = 1;