mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-06-13 10:48:56 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c06b7d03b | ||
|
|
a75355b018 |
@@ -6970,7 +6970,7 @@ static void SerializeGltfAnimationChannel(const AnimationChannel &channel,
|
||||
{
|
||||
detail::json target;
|
||||
|
||||
if (channel.target_node > 0) {
|
||||
if (channel.target_node >= 0) {
|
||||
SerializeNumberProperty("node", channel.target_node, target);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user