You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the static void SerializeGltfNode(const Node &node, detail::json &o) function find the KHR_lights_punctual section in the json by using detail::FindMember(extensions, "KHR_lights_punctual", it); instead of detail::FindMember(o, "KHR_lights_punctual", it);
The text was updated successfully, but these errors were encountered:
Describe the issue
When create GLTF file for the scene with lights, actual reference to the light does not assigned to the node.
To Reproduce
Minimal example with wrong output:
As a result it produce the following
output.gltf
:Expected behaviour
The node with the name
light_node
should containsPossible solution
In the
static void SerializeGltfNode(const Node &node, detail::json &o)
function find theKHR_lights_punctual
section in the json by usingdetail::FindMember(extensions, "KHR_lights_punctual", it);
instead ofdetail::FindMember(o, "KHR_lights_punctual", it);
The text was updated successfully, but these errors were encountered: