Ver Fonte

Fix: Crash in 4.4.0 that I didn't actually fix before

the sign was flipped and I am a real big dummy
Joseph Brandenburg há 6 meses atrás
pai
commit
6aa206cf1f
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      base_definitions.py

+ 2 - 2
base_definitions.py

@@ -182,8 +182,8 @@ class MantisUINode:
             raise e
 
     def insert_link(self, link):
-        if (bpy.app.version < (4, 4, 0)):
-            return # this causes a crasah due to a bug.
+        if (bpy.app.version > (4, 4, 0)):
+            return # this causes a crash due to a bug.
         context = bpy.context
         if context.space_data:
             node_tree = context.space_data.path[0].node_tree