Re: [Bf-committers] Error in node_environment_texture.osl

2013-04-17 Thread Brecht Van Lommel
I can't see this error, it compiles fine here. As far as I can tell there is no commented out "{"? https://svn.blender.org/svnroot/bf-blender/trunk/blender/intern/cycles/kernel/shaders/node_environment_texture.osl Thanks, Brecht. On Wed, Apr 17, 2013 at 11:46 PM, Steve Turnbull wrote: > Hello, >

Re: [Bf-committers] Error in node_environment_texture.osl

2013-04-17 Thread Thomas Dinges
Hi, I don't see an error? The code block is correct. if (isconnected(Alpha)) { Color = color_unpremultiply(Color, Alpha); if (!is_float) Color = min(Color, 1.0); } Am 17.04.2013 23:46, schrieb Steve Turnbull: > Hello, > > ‬I've found a build error caused

[Bf-committers] Error in node_environment_texture.osl

2013-04-17 Thread Steve Turnbull
Hello, ‬I've found a build error caused by an unmatched‭ "}" ‬in node_environment_texture.osl‭ . ‬The error seems to have been introduced in revision 56112‭, ‬on line‭ #‬75‭. ‬The matching‭ "{" ‬had been commented out right above it‭. ‬If I comment out the line‭ #‬75‭ "}", ‬it builds fine‭. ‬Ju