diff --git a/external/openfbx/ofbx.cpp b/external/openfbx/ofbx.cpp index ed947c5e9..3a1e06d92 100644 --- a/external/openfbx/ofbx.cpp +++ b/external/openfbx/ofbx.cpp @@ -877,6 +877,14 @@ static OptionalError readTextProperty(Cursor* cursor, Allocator& allo prop->value.end = cursor->current; } + else if (cursor->current < cursor->end && (*cursor->current == 'e' || *cursor->current == 'E')) { + prop->type = 'D'; + // 10e-013 + ++cursor->current; + if (cursor->current < cursor->end && *cursor->current == '-') ++cursor->current; + while (cursor->current < cursor->end && isdigit(*cursor->current)) ++cursor->current; + prop->value.end = cursor->current; + } return prop; }