Blender Git Commit Log

Git Commits -> Revision 91b2399

Revision 91b2399 by Sergey Sharybin (master)
June 14, 2015, 11:14 (GMT)
Fix T41870: Cycles OSL - Changing rotation value in anisotropic shader crashes Blender

Older OSX has major issues with sincos() function, it's likely a big in OSL
or LLVM. For until we've updated to new versions of this libraries we'll use
a workaround to prevent possible crashes on all the platforms.

Shouldn't be that bad because it's mainly used for anisotropic shader where
angle is usually constant.

This fix is safe for inclusion into final Blender 2.75 release.

Commit Details:

Full Hash: 91b23992ce46d963aa0d81247f37ba5c59a17f05
Parent Commit: 208a917
Lines Changed: +14, -0

1 Modified Path:

/intern/cycles/kernel/shaders/stdosl.h (+14, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021