Skip to content

Commit

Permalink
Update code in Dynamic Sockets developer page
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Jun 17, 2021
1 parent a2c3fe9 commit af5af34
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class GeneratePointsNode(bpy.types.Node, AnimationNode):

# AnimationNode.refresh will cause AN to remove all sockets
# and to call the create method again.
mode = EnumProperty(name = "Mode", default = "LINE",
mode: EnumProperty(name = "Mode", default = "LINE",
items = modeItems, update = AnimationNode.refresh)

def create(self):
Expand Down Expand Up @@ -113,7 +113,7 @@ class GeneratePointsNode(bpy.types.Node, AnimationNode):
bl_idname = "an_GeneratePointsNode"
bl_label = "Generate Points"

mode = EnumProperty(name = "Mode", default = "LINE",
mode: EnumProperty(name = "Mode", default = "LINE",
items = modeItems, update = AnimationNode.refresh)

def create(self):
Expand Down

0 comments on commit af5af34

Please sign in to comment.