Properly move string passed to JSON writer
parent
b0da0796c8
commit
eca008d5ec
|
@ -300,7 +300,7 @@ namespace glTF2 {
|
|||
}
|
||||
|
||||
if (m.alphaMode != "OPAQUE") {
|
||||
obj.AddMember("alphaMode", m.alphaMode, w.mAl);
|
||||
obj.AddMember("alphaMode", Value(m.alphaMode, w.mAl).Move(), w.mAl);
|
||||
}
|
||||
|
||||
if (m.doubleSided) {
|
||||
|
|
Loading…
Reference in New Issue