blender/source
Sergey Sharybin 1dd7156c4c Fix #36058: Displace Modifier errors using a baked Image and displace baking inconsistency between 2.67/2.68RC and previous versions
This was in fact really nasty bug, caused by multitex_nodes
function using global variable R (which is a copy of current
renderer). this variable is not initialized to anything
meaningful for until first rendering (preview or final)
happened.

Since multitex_nodes might be used outside of render pipeline,
made it so whether CM is on or off as an argument to functions
multitex_ext_safe and multitex_ext. Now multitex_nodes() is
only shall be used for stuff happening from render pipeline!

Also needed to make some changes to other places, so all the
usages of texture sampling knows for the fact whether CM is
on or off.

And one more change is related on behavior of dispalcement,
wave, warp, weightvg modifiers and smoke. They'll be always
using CM off since texture is used for influence, not for
color.

It's rather bigger patch, but it's mostly straightforward
changes, which we really need to be done.

Reviewed by Brecht, thanks!
2013-07-15 14:47:58 +00:00
..
blender Fix #36058: Displace Modifier errors using a baked Image and displace baking inconsistency between 2.67/2.68RC and previous versions 2013-07-15 14:47:58 +00:00
blenderplayer fix stubs for blenderplayer linking 2013-06-01 08:59:52 +00:00
creator Remove SDL_VIDEODRIVER=dummy environment variable setting, this may interfere 2013-07-04 11:28:52 +00:00
gameengine clang/cmake - quiet warnings for external libs and reference moto as a system include. 2013-07-15 08:26:16 +00:00
icons Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
tests test operator script, add ability to load files from a path while testing operators. 2013-06-28 16:30:34 +00:00
CMakeLists.txt
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00