projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0da079
)
Properly move string passed to JSON writer
author
John Senneker
<johns@matterandform.net>
Tue, 12 Sep 2017 15:55:22 +0000
(11:55 -0400)
committer
John Senneker
<johns@matterandform.net>
Tue, 12 Sep 2017 15:55:22 +0000
(11:55 -0400)
code/glTF2AssetWriter.inl
patch
|
blob
|
history
diff --git
a/code/glTF2AssetWriter.inl
b/code/glTF2AssetWriter.inl
index
c91313a
..
7c0b435
100644
(file)
--- a/
code/glTF2AssetWriter.inl
+++ b/
code/glTF2AssetWriter.inl
@@
-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) {