| 190 | } |
| 191 | |
| 192 | void assignDiffuseColor(XmlNode &node, aiMaterial *mat) { |
| 193 | const char *color = node.attribute(XmlTag::basematerials_displaycolor).as_string(); |
| 194 | aiColor4D diffuse; |
| 195 | if (parseColor(color, diffuse)) { |
| 196 | mat->AddProperty<aiColor4D>(&diffuse, 1, AI_MATKEY_COLOR_DIFFUSE); |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | } // namespace |
| 201 |
no test coverage detected