733
767
if (it != attribute_map.end()) {
734
768
const OSLGlobals::Attribute& attr = it->second;
737
771
/* triangle and vertex attributes */
773
return get_mesh_element_attribute(kg, sd, attr, type, derivatives, val);
739
775
return get_mesh_attribute(kg, sd, attr, type, derivatives, val);