mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 11:26:02 +08:00
parse node weights
This commit is contained in:
parent
ee179b2cb6
commit
ad63bf748b
@ -3680,6 +3680,8 @@ static bool ParseNode(Node *node, std::string *err, const json &o) {
|
||||
node->children.clear();
|
||||
ParseIntegerArrayProperty(&node->children, err, o, "children", false);
|
||||
|
||||
ParseNumberArrayProperty(&node->weights, err, o, "weights", false);
|
||||
|
||||
ParseExtensionsProperty(&node->extensions, err, o);
|
||||
ParseExtrasProperty(&(node->extras), o);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user