mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-15 11:15:57 +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();
|
node->children.clear();
|
||||||
ParseIntegerArrayProperty(&node->children, err, o, "children", false);
|
ParseIntegerArrayProperty(&node->children, err, o, "children", false);
|
||||||
|
|
||||||
|
ParseNumberArrayProperty(&node->weights, err, o, "weights", false);
|
||||||
|
|
||||||
ParseExtensionsProperty(&node->extensions, err, o);
|
ParseExtensionsProperty(&node->extensions, err, o);
|
||||||
ParseExtrasProperty(&(node->extras), o);
|
ParseExtrasProperty(&(node->extras), o);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user