Fixed loading of graphs in the GraphEditor.
parent
9a1a82f681
commit
c659909020
|
@ -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"];
|
||||
|
|
Loading…
Reference in New Issue