Blender Git Loki

Git Commits -> Revision f8c29c9

Revision f8c29c9 by Lukas Toenne (master)
September 3, 2012, 18:51 (GMT)
Fix for Cycles OSL: The RenderServices pointer in ShadingSystem is no longer accessible from the interface class (presumably because it is just the base class pointer anyway and would have to be casted). The OSLRenderServices pointer to our own implementation is now stored alongside the ShadingSystem in the kernel globals, so it can be accessed in thread_init.

Commit Details:

Full Hash: f8c29c999f0f0a6ed7e8a8ba1de444fdc5bdd3f2
SVN Revision: 50364
Parent Commit: 9b30e8d
Lines Changed: +5, -3

3 Modified Paths:

/intern/cycles/kernel/osl/osl_globals.h (+3, -0) (Diff)
/intern/cycles/kernel/osl/osl_shader.cpp (+1, -3) (Diff)
/intern/cycles/render/osl.cpp (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021