fix error in node template and quiet warning.

This commit is contained in:
Campbell Barton
2012-07-03 21:03:39 +00:00
parent 468ef74ed7
commit 81a509fa40
3 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import bpy
def main(operator, context):
def main(context):
space = context.space_data
node_tree = space.node_tree
node_active = context.active_node