Cycles fix: particle standard attribute had no name conversion yet.
authorLukas Toenne <lukas.toenne@googlemail.com>
Wed, 5 Sep 2012 12:06:44 +0000 (12:06 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Wed, 5 Sep 2012 12:06:44 +0000 (12:06 +0000)
intern/cycles/render/attribute.cpp

index 5c7966d6d96f02993b6598d92c353f03eb64bc2e..7296f8bebba4d4b04d636d871c2d277c786d58a4 100644 (file)
@@ -102,6 +102,8 @@ ustring Attribute::standard_name(AttributeStandard std)
                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();
 }