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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-07-14 09:50:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-14 09:50:51 +0300
commit9ca218bf4252869dda11b44029cdebfcbff9aad1 (patch)
tree16c6d6c47c4c53fdff235c4189f6fa98dbef9c4e
parentd8e19001f08387edfe8e14c551166f1d43627426 (diff)
Cleanup: pep8
-rw-r--r--space_view3d_math_vis/__init__.py76
1 files changed, 38 insertions, 38 deletions
diff --git a/space_view3d_math_vis/__init__.py b/space_view3d_math_vis/__init__.py
index 2683c754..50d399f2 100644
--- a/space_view3d_math_vis/__init__.py
+++ b/space_view3d_math_vis/__init__.py
@@ -42,20 +42,20 @@ else:
import bpy
from bpy.types import (
- Operator,
- Panel,
- PropertyGroup,
- UIList,
- )
+ Operator,
+ Panel,
+ PropertyGroup,
+ UIList,
+)
from bpy.props import (
- StringProperty,
- BoolProperty,
- BoolVectorProperty,
- FloatProperty,
- IntProperty,
- PointerProperty,
- CollectionProperty,
- )
+ StringProperty,
+ BoolProperty,
+ BoolVectorProperty,
+ FloatProperty,
+ IntProperty,
+ PointerProperty,
+ CollectionProperty,
+)
class PanelConsoleVars(Panel):
@@ -77,14 +77,14 @@ class PanelConsoleVars(Panel):
col.label("No vars to display")
else:
layout.template_list(
- 'MathVisVarList',
- 'MathVisStatePropList',
- bpy.context.window_manager,
- 'MathVisStatePropList',
- bpy.context.window_manager.MathVisProp,
- 'index',
- rows=10
- )
+ 'MathVisVarList',
+ 'MathVisStatePropList',
+ bpy.context.window_manager,
+ 'MathVisStatePropList',
+ bpy.context.window_manager.MathVisProp,
+ 'index',
+ rows=10
+ )
col = layout.column()
col.prop(bpy.context.window_manager.MathVisProp, "name_hide")
col.prop(bpy.context.window_manager.MathVisProp, "bbox_hide")
@@ -220,26 +220,26 @@ class MathVisVarList(UIList):
class MathVis(PropertyGroup):
index = IntProperty(
- name="index"
- )
+ name="index"
+ )
bbox_hide = BoolProperty(
- name="Hide BBoxes",
- default=False,
- description="Hide the bounding boxes rendered for Matrix like items",
- update=call_console_hook
- )
+ name="Hide BBoxes",
+ default=False,
+ description="Hide the bounding boxes rendered for Matrix like items",
+ update=call_console_hook
+ )
name_hide = BoolProperty(
- name="Hide Names",
- default=False,
- description="Hide the names of the rendered items",
- update=call_console_hook
- )
+ name="Hide Names",
+ default=False,
+ description="Hide the names of the rendered items",
+ update=call_console_hook
+ )
bbox_scale = FloatProperty(
- name="Scale factor",
- min=0, default=1,
- description="Resize the Bounding Box and the coordinate "
- "lines for the display of Matrix items"
- )
+ name="Scale factor",
+ min=0, default=1,
+ description="Resize the Bounding Box and the coordinate "
+ "lines for the display of Matrix items"
+ )
classes = (