$OpenBSD: patch-intern_cycles_graph_node_xml_cpp,v 1.1 2021/03/27 15:15:06 sthen Exp $

Index: intern/cycles/graph/node_xml.cpp
--- intern/cycles/graph/node_xml.cpp.orig
+++ intern/cycles/graph/node_xml.cpp
@@ -200,7 +200,7 @@ void xml_read_node(XMLReader &reader, Node *node, xml_
         map<ustring, Node *>::iterator it = reader.node_map.find(value);
         if (it != reader.node_map.end()) {
           Node *value_node = it->second;
-          if (value_node->is_a(*(socket.node_type)))
+          if (value_node->is_a(socket.node_type))
             node->set(socket, it->second);
         }
         break;
@@ -215,7 +215,7 @@ void xml_read_node(XMLReader &reader, Node *node, xml_
           map<ustring, Node *>::iterator it = reader.node_map.find(ustring(tokens[i]));
           if (it != reader.node_map.end()) {
             Node *value_node = it->second;
-            value[i] = (value_node->is_a(*(socket.node_type))) ? value_node : NULL;
+            value[i] = (value_node->is_a(socket.node_type)) ? value_node : NULL;
           }
           else {
             value[i] = NULL;
