mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 05:00:06 -05:00
--Bug fixes
-bcircle was not properly setting output values to zero when the bcircle_borderwidth was zero.
This commit is contained in:
parent
5d11fbe66c
commit
b31f45251c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user