Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created December 28, 2018 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/f88315c89104924b110cc1c6ac851546 to your computer and use it in GitHub Desktop.
Save zeffii/f88315c89104924b110cc1c6ac851546 to your computer and use it in GitHub Desktop.
"""
in dummy_in s
out dummy_out s
"""
if not 'NEW_IN' in self.inputs:
self.inputs.new('StringsSocket', 'NEW_IN')
if not 'NEW_OUT' in self.outputs:
self.outputs.new('StringsSocket', 'NEW_OUT')
obtained_data = self.inputs['NEW_IN'].sv_get()
self.outputs['NEW_OUT'].sv_set(obtained_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment