| 2601 | |
| 2602 | |
| 2603 | static OptionalError<Object*> parseNodeAttribute(const Scene& scene, const Element& element, Allocator& allocator) |
| 2604 | { |
| 2605 | NodeAttributeImpl* obj = allocator.allocate<NodeAttributeImpl>(scene, element); |
| 2606 | const Element* type_flags = findChild(element, "TypeFlags"); |
| 2607 | if (type_flags && type_flags->first_property) |
| 2608 | { |
| 2609 | obj->attribute_type = type_flags->first_property->value; |
| 2610 | } |
| 2611 | return obj; |
| 2612 | } |
| 2613 | |
| 2614 | |
| 2615 | static OptionalError<Object*> parseMaterial(const Scene& scene, const Element& element, Allocator& allocator) |
no test coverage detected