Fix minimum node radius
parent
9a5d6df106
commit
f19771fbb1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue