From 1daa20ad9f6f0c433a4e0a97a74e5beb9ea4e2c7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 6 Jul 2018 10:17:58 +0200 Subject: Cleanup: strip trailing space for cycles --- intern/cycles/render/attribute.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'intern/cycles/render/attribute.cpp') diff --git a/intern/cycles/render/attribute.cpp b/intern/cycles/render/attribute.cpp index 8c77687d9cc..a7450849195 100644 --- a/intern/cycles/render/attribute.cpp +++ b/intern/cycles/render/attribute.cpp @@ -202,7 +202,7 @@ bool Attribute::same_storage(TypeDesc a, TypeDesc b) { if(a == b) return true; - + if(a == TypeDesc::TypeColor || a == TypeDesc::TypePoint || a == TypeDesc::TypeVector || a == TypeDesc::TypeNormal) { @@ -292,7 +292,7 @@ const char *Attribute::standard_name(AttributeStandard std) case ATTR_STD_NUM: return ""; } - + return ""; } @@ -476,7 +476,7 @@ Attribute *AttributeSet::add(AttributeStandard std, ustring name) } attr->std = std; - + return attr; } @@ -682,7 +682,7 @@ bool AttributeRequestSet::find(ustring name) foreach(AttributeRequest& req, requests) if(req.name == name) return true; - + return false; } @@ -706,4 +706,3 @@ void AttributeRequestSet::clear() } CCL_NAMESPACE_END - -- cgit v1.2.3