Tomato Cycles: fix for vector pass gives wrong result in some circumstances
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 5 Aug 2012 17:24:10 +0000 (17:24 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 5 Aug 2012 17:24:10 +0000 (17:24 +0000)
commit7b644b819627ded84fb59e99f1b8754a19ecd6a6
tree54a1d7226c6096f4e71569f9834fe57657bad7ac
parentcae3dbd14121fd72d301ec3323450801fff45a45
Tomato Cycles: fix for vector pass gives wrong result in some circumstances

Issue was caused by wrong camera motion stored in device in cases
when first render layer does not have vector pass enabled.

Solved by forcing device camera update in cases when scene's motion
changed since previous device camera update.
intern/cycles/render/camera.cpp
intern/cycles/render/camera.h