[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60013] trunk/blender/intern/cycles/render /scene.cpp: Fix cycles too slow export of meshes with uvs when a motion vector pass is used .

Brecht Van Lommel brechtvanlommel at pandora.be
Tue Sep 10 17:12:54 CEST 2013


Revision: 60013
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60013
Author:   blendix
Date:     2013-09-10 15:12:53 +0000 (Tue, 10 Sep 2013)
Log Message:
-----------
Fix cycles too slow export of meshes with uvs when a motion vector pass is used.

Modified Paths:
--------------
    trunk/blender/intern/cycles/render/scene.cpp

Modified: trunk/blender/intern/cycles/render/scene.cpp
===================================================================
--- trunk/blender/intern/cycles/render/scene.cpp	2013-09-10 14:59:29 UTC (rev 60012)
+++ trunk/blender/intern/cycles/render/scene.cpp	2013-09-10 15:12:53 UTC (rev 60013)
@@ -220,7 +220,7 @@
 {
 	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;




More information about the Bf-blender-cvs mailing list