[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58051] branches/soc-2013-cycles_mblur/ intern/cycles/render/attribute.cpp: Added the two new AttributeStandards to the Attribute::standard_name

Gavin Howard gavin.d.howard at gmail.com
Sun Jul 7 00:57:27 CEST 2013


Revision: 58051
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58051
Author:   gdh
Date:     2013-07-06 22:57:27 +0000 (Sat, 06 Jul 2013)
Log Message:
-----------
Added the two new AttributeStandards to the Attribute::standard_name 
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-06 20:50:49 UTC (rev 58050)
+++ branches/soc-2013-cycles_mblur/intern/cycles/render/attribute.cpp	2013-07-06 22:57:27 UTC (rev 58051)
@@ -145,6 +145,10 @@
 		return "motion_pre";
 	else if(std == ATTR_STD_MOTION_POST)
 		return "motion_post";
+	else if(std == ATTR_STD_DMOTION_PRE)
+		return "deform_motion_pre";
+	else if(std == ATTR_STD_DMOTION_POST)
+		return "deform_motion_post";
 	else if(std == ATTR_STD_PARTICLE)
 		return "particle";
 	else if(std == ATTR_STD_CURVE_TANGENT)




More information about the Bf-blender-cvs mailing list