[Bf-extensions-cvs] [16a6b444] master: automat/AdjOp - code cleanup
NBurn
noreply at git.blender.org
Tue May 21 01:59:19 CEST 2019
Commit: 16a6b444860e34553a2dc6e65af69aedc4eececf
Author: NBurn
Date: Mon May 20 19:58:25 2019 -0400
Branches: master
https://developer.blender.org/rBAC16a6b444860e34553a2dc6e65af69aedc4eececf
automat/AdjOp - code cleanup
===================================================================
M automat/AdjOp.py
===================================================================
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 = ""
More information about the Bf-extensions-cvs
mailing list