[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50418] trunk/blender/intern/cycles/render /attribute.cpp: Cycles fix: particle standard attribute had no name conversion yet.

Lukas Toenne lukas.toenne at googlemail.com
Wed Sep 5 14:06:45 CEST 2012


Revision: 50418
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50418
Author:   lukastoenne
Date:     2012-09-05 12:06:44 +0000 (Wed, 05 Sep 2012)
Log Message:
-----------
Cycles fix: particle standard attribute had no name conversion yet.

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

Modified: trunk/blender/intern/cycles/render/attribute.cpp
===================================================================
--- trunk/blender/intern/cycles/render/attribute.cpp	2012-09-05 12:00:08 UTC (rev 50417)
+++ trunk/blender/intern/cycles/render/attribute.cpp	2012-09-05 12:06:44 UTC (rev 50418)
@@ -102,6 +102,8 @@
 		return ustring("motion_pre");
 	else if(std == ATTR_STD_MOTION_POST)
 		return ustring("motion_post");
+	else if(std == ATTR_STD_PARTICLE)
+		return ustring("particle");
 
 	return ustring();
 }




More information about the Bf-blender-cvs mailing list