1.0.0.4 07/01/2017 Release

This commit is contained in:
Person
2017-07-01 09:18:01 -07:00
parent f66a278c73
commit f192bc7ae4
7 changed files with 74 additions and 30 deletions

View File

@ -203,6 +203,7 @@ string IterOpenCLKernelCreator<T>::CreateIterKernelString(const Ember<T>& ember,
}
xformFuncs << "\toutPoint->m_ColorX = tempColor + xform->m_DirectColor * (outPoint->m_ColorX - tempColor);\n";
xformFuncs << "\n";
xformFuncs << "\tif (isnan(outPoint->m_ColorX))\n";
xformFuncs << "\t outPoint->m_ColorX = 0.0; \n";
xformFuncs << "}\n"