Use correct XmlParser-methods and add some missing casts

This commit is contained in:
Kim Kulling
2021-12-13 18:06:23 +01:00
parent 052594568a
commit cb657e4c13
5 changed files with 7 additions and 4 deletions

View File

@@ -879,7 +879,7 @@ void X3DImporter::readSphere(XmlNode &node) {
X3DNodeElementBase *ne(nullptr);
MACRO_ATTRREAD_CHECKUSEDEF_RET(node, def, use);
XmlParser::getFloatAttribute(node, "radius", radius);
XmlParser::getRealAttribute(node, "radius", radius);
XmlParser::getBoolAttribute(node, "solid", solid);
// if "USE" defined then find already defined element.