From 16a6b444860e34553a2dc6e65af69aedc4eececf Mon Sep 17 00:00:00 2001 From: NBurn <7nburn@gmail.com> Date: Mon, 20 May 2019 19:58:25 -0400 Subject: [PATCH] automat/AdjOp - code cleanup --- automat/AdjOp.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/automat/AdjOp.py b/automat/AdjOp.py index c9feb1df..6ccd20d9 100644 --- a/automat/AdjOp.py +++ b/automat/AdjOp.py @@ -10,11 +10,10 @@ import bpy import os class AdjustableOperatorFromTexture(bpy.types.Operator): - - """This operator generates adjustable materials from textures in Cycles. - -This is a subclass from bpy.types.Operator. -""" + """ + This operator generates adjustable materials from textures in Cycles. + This is a subclass from bpy.types.Operator. + """ # Metadata of the operator @@ -32,10 +31,10 @@ This is a subclass from bpy.types.Operator. def execute(self, context): - - """This is the main runnable method of the operator. - -This creates all the node setup.""" + """ + This is the main runnable method of the operator. + This creates all the node setup. + """ # Create the material @@ -104,10 +103,11 @@ This creates all the node setup.""" return {"FINISHED"} def invoke(self, context, event): - - """This method opens the file browser. After that, the -execute(...) method gets ran, creating the node setup. -It also checks that the render engine is Cycles. """ + """ + This method opens the file browser. After that, the + execute(...) method gets ran, creating the node setup. + It also checks that the render engine is Cycles. + """ if bpy.context.scene.render.engine == 'CYCLES': self.filename = "" -- GitLab