Correct socket position

This commit is contained in:
Sandy 2019-10-18 21:33:26 +09:00 committed by GitHub
parent 5d521e8101
commit 39114e9fd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,9 +11,9 @@ class ReadFileNode(Node, ArmLogicTreeNode):
def init(self, context):
self.inputs.new('ArmNodeSocketAction', 'In')
self.inputs.new('NodeSocketString', 'File')
self.inputs.new('NodeSocketBool', 'Use cache')
self.inputs[-1].default_value = 1
self.inputs.new('NodeSocketString', 'File')
self.outputs.new('ArmNodeSocketAction', 'Loaded')
self.outputs.new('NodeSocketString', 'String')