--Bug fixes

-bcircle was not properly setting output values to zero when the bcircle_borderwidth was zero.
This commit is contained in:
Person 2021-01-13 21:43:10 -08:00
parent 5d11fbe66c
commit b31f45251c

View File

@ -907,6 +907,11 @@ public:
helper.Out.x = m_Weight * px;
helper.Out.y = m_Weight * py;
}
else
{
helper.Out.x = 0;
helper.Out.y = 0;
}
}
helper.Out.z = DefaultZ(helper);
@ -947,6 +952,11 @@ public:
<< "\t\t vOut.x = " << weight << " * px;\n"
<< "\t\t vOut.y = " << weight << " * py;\n"
<< "\t\t }\n"
<< "\t\t else\n"
<< "\t\t {\n"
<< "\t\t vOut.x = (real_t)0.0;\n"
<< "\t\t vOut.y = (real_t)0.0;\n"
<< "\t\t }\n"
<< "\t\t}\n"
<< "\n"
<< "\t\tvOut.z = " << DefaultZCl()