Merge branch 'master' into export_3mf
This commit is contained in:
@@ -60,6 +60,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "MemoryIOWrapper.h"
|
||||
#include "irrXMLWrapper.h"
|
||||
#include "../contrib/utf8cpp/source/utf8.h"
|
||||
#include "fast_atof.h"
|
||||
#include <stack>
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
@@ -714,7 +715,8 @@ public:
|
||||
if (floatValue) {
|
||||
return floatValue->value.size() == 1 ? floatValue->value.front() : 0;
|
||||
}
|
||||
return static_cast<float>( atof( attr->value->toString().c_str() ) );
|
||||
|
||||
return fast_atof(attr->value->toString().c_str());
|
||||
}
|
||||
|
||||
virtual float getAttributeValueAsFloat(int idx) const /*override*/ {
|
||||
@@ -725,7 +727,7 @@ public:
|
||||
if (floatValue) {
|
||||
return floatValue->value.size() == 1 ? floatValue->value.front() : 0;
|
||||
}
|
||||
return static_cast<float>( atof( attributes[ idx ].value->toString().c_str() ) );
|
||||
return fast_atof(attributes[idx].value->toString().c_str());
|
||||
}
|
||||
|
||||
virtual const char* getNodeName() const /*override*/ {
|
||||
@@ -1790,7 +1792,8 @@ public:
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual void registerDecoder(const std::string &/*algorithmUri*/, std::unique_ptr<FIDecoder> /*decoder*/) /*override*/ {}
|
||||
virtual void registerDecoder(const std::string & /*algorithmUri*/, std::unique_ptr<FIDecoder> /*decoder*/) /*override*/ {}
|
||||
|
||||
|
||||
virtual void registerVocabulary(const std::string &/*vocabularyUri*/, const FIVocabulary * /*vocabulary*/) /*override*/ {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user