diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-04 01:03:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-04 01:03:39 +0400 |
commit | 81a509fa409091f65cad4e8ac2a31fcb486ca2c3 (patch) | |
tree | 254279c27b6436661991d32044fa790214534c17 /release/scripts | |
parent | 468ef74ed74d2173a06d94b2f571b32c5b77cb2d (diff) |
fix error in node template and quiet warning.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/templates/operator_node.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/operator_node.py b/release/scripts/templates/operator_node.py index 9c19993a38a..b689ce7634e 100644 --- a/release/scripts/templates/operator_node.py +++ b/release/scripts/templates/operator_node.py @@ -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 |