[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58189] branches/soc-2013-cycles_mblur/ intern/cycles/render/attribute.cpp: Added both new AttributeStandards to the AttributeSet::add() function.
Gavin Howard
gavin.d.howard at gmail.com
Fri Jul 12 06:31:06 CEST 2013
Revision: 58189
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58189
Author: gdh
Date: 2013-07-12 04:31:06 +0000 (Fri, 12 Jul 2013)
Log Message:
-----------
Added both new AttributeStandards to the AttributeSet::add() function.
Modified Paths:
--------------
branches/soc-2013-cycles_mblur/intern/cycles/render/attribute.cpp
Modified: branches/soc-2013-cycles_mblur/intern/cycles/render/attribute.cpp
===================================================================
--- branches/soc-2013-cycles_mblur/intern/cycles/render/attribute.cpp 2013-07-12 02:37:55 UTC (rev 58188)
+++ branches/soc-2013-cycles_mblur/intern/cycles/render/attribute.cpp 2013-07-12 04:31:06 UTC (rev 58189)
@@ -262,6 +262,12 @@
case ATTR_STD_MOTION_POST:
attr = add(name, TypeDesc::TypePoint, ATTR_ELEMENT_VERTEX);
break;
+ case ATTR_STD_DMOTION_PRE:
+ attr = add(name, TypeDesc::TypePoint, ATTR_ELEMENT_VERTEX_BLOCK);
+ break;
+ case ATTR_STD_DMOTION_POST:
+ attr = add(name, TypeDesc::TypePoint, ATTR_ELEMENT_VERTEX_BLOCK);
+ break;
default:
assert(0);
break;
More information about the Bf-blender-cvs
mailing list