Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-10 19:12:53 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-09-10 19:12:53 +0400
commitac78c4a634b0b885372ef2ba0c4341cce5d59504 (patch)
tree5899e403e569df8234acd90dfdc32d54e2e012af /intern/cycles
parente052fc9819cf295988c6c9bfd9cc25ac1057b5e8 (diff)
Fix cycles too slow export of meshes with uvs when a motion vector pass is used.
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/render/scene.cpp2
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;