[Bf-blender-cvs] [2d1cd3076f4] functions: fix missing update
Jacques Lucke
noreply at git.blender.org
Tue Dec 17 15:05:43 CET 2019
Commit: 2d1cd3076f4b01fb7f5088d4074c898f4e2d7250
Author: Jacques Lucke
Date: Tue Dec 17 15:05:39 2019 +0100
Branches: functions
https://developer.blender.org/rB2d1cd3076f4b01fb7f5088d4074c898f4e2d7250
fix missing update
===================================================================
M release/scripts/startup/nodes/declaration/bparticles.py
M release/scripts/startup/nodes/function_nodes/groups.py
===================================================================
diff --git a/release/scripts/startup/nodes/declaration/bparticles.py b/release/scripts/startup/nodes/declaration/bparticles.py
index 067c798a3c8..3095a9d12f3 100644
--- a/release/scripts/startup/nodes/declaration/bparticles.py
+++ b/release/scripts/startup/nodes/declaration/bparticles.py
@@ -55,6 +55,8 @@ class ExecuteOutputDecl(SocketDeclBase):
return False
elif socket.identifier != self.identifier:
return False
+ elif socket.bl_idname != "fn_ExecuteSocket":
+ return False
return True
@@ -65,7 +67,9 @@ class ExecuteInputDecl(SocketDeclBase):
self.display_name = display_name
def build(self, node_sockets):
- return [node_sockets.new("fn_ExecuteSocket", self.display_name, identifier=self.identifier)]
+ socket = node_sockets.new("fn_ExecuteSocket", self.display_name, identifier=self.identifier)
+ socket.display_shape = "SQUARE"
+ return [socket]
def amount(self):
return 1
diff --git a/release/scripts/startup/nodes/function_nodes/groups.py b/release/scripts/startup/nodes/function_nodes/groups.py
index 739e25ae935..8165989b3bb 100644
--- a/release/scripts/startup/nodes/function_nodes/groups.py
+++ b/release/scripts/startup/nodes/function_nodes/groups.py
@@ -94,7 +94,7 @@ class GroupOutputNode(bpy.types.Node, BaseNode):
interface_type: EnumProperty(
items=interface_type_items,
default="DATA",
- update= BaseNode.sync_tree,
+ update=BaseNode.sync_tree,
)
data_type: StringProperty(
More information about the Bf-blender-cvs
mailing list