Blender Git Commit Log
Git Commits -> Revision 21f31e6
Revision 21f31e6 by Sergey Sharybin (master) March 23, 2016, 12:58 (GMT) |
Fix T47856: Cycles problem when running from multi-byte path This is a mix of regression and old unsupported configuration. Regression was caused by some checks added on Blender side which was checking whether python function returned error or not. This made it impossible to enable Cycles when running from a file path which can't be encoded with MBCS codepage. Non-regression issue was that it wasn't possible to use pre-compiled CUDA kernels when running from a path with non-ascii multi-byte characters. This commit fixes regression and CUDA parts, but OSL still can't be used from a non-ascii location because it uses non-widechar API to work with file paths by the looks of it. Not sure we can solve this just from our side by using some codepage trick (UTF-16?) since even oslc fails to compile shader when there are non-ascii characters in the path. |
Commit Details:
Full Hash: 21f31e60546f1f882494bacb84adee92a53d734c
Parent Commit: 6e31f4f
Lines Changed: +92, -18