Fix for material icon rendering with cycles
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Apr 2013 12:49:57 +0000 (12:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Apr 2013 12:49:57 +0000 (12:49 +0000)
commit6569ab813f853bc076377220f76868325ffefeb0
treeec0e1f2db2cb5ebeb3e20946c403186c66a39e60
parentfa3770eb669ab5a1794cc1b9f874c3f0428b487c
Fix for material icon rendering with cycles

Materials icons used to miss transparent background
and were using world environment which didn't give
so nice results.

Reviewed by Brecht, thanks!
intern/cycles/blender/blender_shader.cpp
source/blender/editors/render/render_preview.c