Fix minimum node radius

master
Jeremy Hu 2018-12-09 12:20:15 +09:30
parent 9a5d6df106
commit f19771fbb1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public:
} }
void setRadius(float toRadius) void setRadius(float toRadius)
{ {
if (toRadius < 0) if (toRadius < 0.005)
toRadius = 0.005; toRadius = 0.005;
else if (toRadius > 1) else if (toRadius > 1)
toRadius = 1; toRadius = 1;