mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-17 05:34:50 -04:00
--Bug fixes
-Fix some potential OpenCL compilation bugs on circlecrop, circlecrop2, oscilloscope2, Truchet_hex_crop. -Prevent the minus key from changing the current xform when being pressed in a textbox. --Code changes -Cleanup some casting in depth_blur, depth_blur2.
This commit is contained in:
@ -2190,7 +2190,7 @@ public:
|
||||
helper.Out.x = m_Weight * xi + m_X;
|
||||
helper.Out.y = m_Weight * yi + m_Y;
|
||||
}
|
||||
else if (!cr0 && esc)
|
||||
else if (!cr0 && esc)
|
||||
{
|
||||
helper.Out.x = m_Weight * rdc * c + m_X;
|
||||
helper.Out.y = m_Weight * rdc * s + m_Y;
|
||||
@ -2360,7 +2360,7 @@ public:
|
||||
<< "\n"
|
||||
<< "\t\tif (rad > " << out << " || rad < " << in << ")\n"
|
||||
<< "\t\t{\n"
|
||||
<< "\t\t if (!" << zero << ")\n"
|
||||
<< "\t\t if (" << zero << " == 0)\n"
|
||||
<< "\t\t {\n"
|
||||
<< "\t\t s = sin(ang) * " << outweight << ";\n"
|
||||
<< "\t\t c = cos(ang) * " << outweight << ";\n"
|
||||
|
Reference in New Issue
Block a user