Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2012-09-05 16:06:44 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2012-09-05 16:06:44 +0400
commita823207d81269f5e371684a3d6d2c910b76a74cc (patch)
treeaf30a6041313d9d47a5b4ed0f16bd517b2530577 /intern/cycles/render/attribute.cpp
parente2eea6c38dc787677eb0cfeebbaee56fff65989f (diff)
Cycles fix: particle standard attribute had no name conversion yet.
Diffstat (limited to 'intern/cycles/render/attribute.cpp')
-rw-r--r--intern/cycles/render/attribute.cpp2
1 files changed, 2 insertions, 0 deletions
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();
}