diff --git a/automat/AdjOp.py b/automat/AdjOp.py index c9feb1df0c96747922bc0d58ef129cc2b69cdfa7..6ccd20d9d7581f972bf026bbb75ad106ae5c9c63 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 = ""