Fixed loading of graphs in the GraphEditor.
parent
3f609310e2
commit
9a1a82f681
|
@ -68,6 +68,8 @@ Socket sJsonToSocket(const json& json_data) {
|
|||
if (type_string == "Bool") {
|
||||
result.m_type = SocketType::SocketTypeBool;
|
||||
result.m_type_size = sizeof(bool);
|
||||
result.m_reference.ptr = &result.m_value.int_value;
|
||||
|
||||
if (have_value) {
|
||||
result.m_value.flag = json_data["value"];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue