Fixed loading of graphs in the GraphEditor.

RefactorUnifiedBlendTreeStateMachineHandling
Martin Felis 2023-04-15 21:52:01 +02:00
parent 9a1a82f681
commit c659909020
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ json sSocketToJson(const Socket& socket) {
Socket sJsonToSocket(const json& json_data) { Socket sJsonToSocket(const json& json_data) {
Socket result; Socket result;
result.m_type = SocketType::SocketTypeUndefined; 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"]; result.m_name = json_data["name"];
std::string type_string = json_data["type"]; std::string type_string = json_data["type"];