Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-26 20:41:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-26 20:58:56 +0300
commit532c8ac58384309e77791e32ab78f448ad2a76a6 (patch)
treecef77b98714aaed13ec8317bc9bb763d00aa1a02 /release/scripts/templates_py/custom_nodes.py
parentecb56eac57e66c1c925860e05438c9f245bff505 (diff)
Cleanup: pep8 function indentation
Diffstat (limited to 'release/scripts/templates_py/custom_nodes.py')
-rw-r--r--release/scripts/templates_py/custom_nodes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/templates_py/custom_nodes.py b/release/scripts/templates_py/custom_nodes.py
index 8ca748c1d66..23d8ee55e72 100644
--- a/release/scripts/templates_py/custom_nodes.py
+++ b/release/scripts/templates_py/custom_nodes.py
@@ -124,6 +124,8 @@ from nodeitems_utils import NodeCategory, NodeItem
# our own base class with an appropriate poll function,
# so the categories only show up in our own tree type
+
+
class MyNodeCategory(NodeCategory):
@classmethod
def poll(cls, context):
@@ -159,6 +161,7 @@ classes = (
MyCustomNode,
)
+
def register():
from bpy.utils import register_class
for cls in classes: