diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-10 19:12:53 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-09-10 19:12:53 +0400 |
commit | ac78c4a634b0b885372ef2ba0c4341cce5d59504 (patch) | |
tree | 5899e403e569df8234acd90dfdc32d54e2e012af /intern | |
parent | e052fc9819cf295988c6c9bfd9cc25ac1057b5e8 (diff) |
Fix cycles too slow export of meshes with uvs when a motion vector pass is used.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/render/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/scene.cpp b/intern/cycles/render/scene.cpp index ce287f86b83..52e355df382 100644 --- a/intern/cycles/render/scene.cpp +++ b/intern/cycles/render/scene.cpp @@ -220,7 +220,7 @@ bool Scene::need_global_attribute(AttributeStandard std) { if(std == ATTR_STD_UV) return Pass::contains(film->passes, PASS_UV); - if(std == ATTR_STD_MOTION_PRE || ATTR_STD_MOTION_POST) + if(std == ATTR_STD_MOTION_PRE || std == ATTR_STD_MOTION_POST) return need_motion() == MOTION_PASS; return false; |