Properly move string passed to JSON writer

pull/1423/head
John Senneker 2017-09-12 11:55:22 -04:00
parent b0da0796c8
commit eca008d5ec
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ namespace glTF2 {
} }
if (m.alphaMode != "OPAQUE") { 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) { if (m.doubleSided) {