From a823207d81269f5e371684a3d6d2c910b76a74cc Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Wed, 5 Sep 2012 12:06:44 +0000 Subject: Cycles fix: particle standard attribute had no name conversion yet. --- intern/cycles/render/attribute.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/render/attribute.cpp') diff --git a/intern/cycles/render/attribute.cpp b/intern/cycles/render/attribute.cpp index 5c7966d6d96..7296f8bebba 100644 --- a/intern/cycles/render/attribute.cpp +++ b/intern/cycles/render/attribute.cpp @@ -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(); } -- cgit v1.2.3