diff --git a/src/AnimGraph/AnimGraphResource.cc b/src/AnimGraph/AnimGraphResource.cc index 44457ff..417d6e6 100644 --- a/src/AnimGraph/AnimGraphResource.cc +++ b/src/AnimGraph/AnimGraphResource.cc @@ -59,7 +59,7 @@ json sSocketToJson(const Socket& socket) { Socket sJsonToSocket(const json& json_data) { Socket result; result.m_type = SocketType::SocketTypeUndefined; - result.m_reference.ptr = nullptr; + result.m_reference.ptr = &result.m_value.int_value; result.m_name = json_data["name"]; std::string type_string = json_data["type"];