Added missing member copy in gltf2::ExtrasValue ctor.
parent
5a2b811ba3
commit
517fd3c76c
|
@ -376,9 +376,7 @@ struct CustomExtension {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ExtrasValue;
|
//! Represents a union of metadata values. Only one nullable is supposed to be set.
|
||||||
|
|
||||||
//! Represents a union of metadata values
|
|
||||||
struct ExtrasValue {
|
struct ExtrasValue {
|
||||||
std::string name;
|
std::string name;
|
||||||
|
|
||||||
|
@ -396,6 +394,7 @@ struct ExtrasValue {
|
||||||
ExtrasValue(const ExtrasValue& other) :
|
ExtrasValue(const ExtrasValue& other) :
|
||||||
name(other.name),
|
name(other.name),
|
||||||
mStringValue(other.mStringValue),
|
mStringValue(other.mStringValue),
|
||||||
|
mFloatValue(other.mFloatValue),
|
||||||
mDoubleValue(other.mDoubleValue),
|
mDoubleValue(other.mDoubleValue),
|
||||||
mUint64Value(other.mUint64Value),
|
mUint64Value(other.mUint64Value),
|
||||||
mInt32Value(other.mInt32Value),
|
mInt32Value(other.mInt32Value),
|
||||||
|
@ -404,7 +403,7 @@ struct ExtrasValue {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Represents metadata in an glTF object
|
//! Represents metadata in an glTF2 object
|
||||||
struct Extras {
|
struct Extras {
|
||||||
std::vector<ExtrasValue> mValues;
|
std::vector<ExtrasValue> mValues;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue