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:
authorMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2016-08-01 13:55:40 +0300
committerMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2016-08-01 13:55:40 +0300
commit28dafb0ab3fe509a5cdbfce62fce8ef511a37039 (patch)
treeb5a2b38a9b9b507ba1480a049625b53e71cb3eab /object_boolean_tools.py
parentb7f883ed69a3ff7cb0678f26c445caca8c778a3e (diff)
BoolTools: Undo formatting and version bump in previous commit
Diffstat (limited to 'object_boolean_tools.py')
-rw-r--r--object_boolean_tools.py73
1 files changed, 38 insertions, 35 deletions
diff --git a/object_boolean_tools.py b/object_boolean_tools.py
index c92ce53b..f31515ff 100644
--- a/object_boolean_tools.py
+++ b/object_boolean_tools.py
@@ -22,7 +22,7 @@ bl_info = {
"name": "Bool Tool",
"author": "Vitor Balbio, Mikhail Rachinskiy, TynkaTopi, Meta-Androcto",
"version": (0, 3, 4),
- "blender": (2, 78, 0),
+ "blender": (2, 77, 0),
"location": "View3D > Toolshelf > BoolTool",
"description": "Bool Tools Hotkey: Ctrl Shift B",
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Object/BoolTool",
@@ -32,9 +32,9 @@ bl_info = {
import bpy
from bpy.app.handlers import persistent
from bpy.types import (
- Operator,
- Panel,
-)
+ Operator,
+ Panel,
+ )
# ------------------- Bool Tool FUNCTIONS------------------------------
@@ -663,15 +663,14 @@ class DirectBooleans:
bl_options = {'REGISTER', 'UNDO'}
solver = bpy.props.EnumProperty(
- name='Boolean Solver',
- items=(
- ('DEFAULT', 'Default', ''),
- ('BMESH', 'BMesh', ''),
- ('CARVE', 'Carve', ''),
- ),
- default='DEFAULT',
- description='Specify solver for boolean operations',
- options={'SKIP_SAVE'})
+ name='Boolean Solver',
+ items=(('DEFAULT', 'Default', ''),
+ ('BMESH', 'BMesh', ''),
+ ('CARVE', 'Carve', '')),
+ default='DEFAULT',
+ description='Specify solver for boolean operations',
+ options={'SKIP_SAVE'}
+ )
def boolean_each(self, mode):
context = bpy.context
@@ -1220,37 +1219,41 @@ class BoolTool_Pref(bpy.types.AddonPreferences):
default=False,
update=UpdateBoolTool_Pref,
description=("Replace the Transform HotKeys (G,R,S) "
- "for a custom version that can optimize the visualization of Brushes"))
+ "for a custom version that can optimize the visualization of Brushes")
+ )
make_vertex_groups = bpy.props.BoolProperty(
- name="Make Vertex Groups",
- default=False,
- description="When Apply a Brush to de Object it will create a new vertex group of the new faces")
+ name="Make Vertex Groups",
+ default=False,
+ description="When Apply a Brush to de Object it will create a new vertex group of the new faces"
+ )
make_boundary = bpy.props.BoolProperty(
- name="Make Boundary",
- default=False,
- description="When Apply a Brush to de Object it will create a new vertex group of the bondary boolean area")
+ name="Make Boundary",
+ default=False,
+ description="When Apply a Brush to de Object it will create a new vertex group of the bondary boolean area"
+ )
use_wire = bpy.props.BoolProperty(
- name="Use Bmesh",
- default=False,
- description="Use The Wireframe Instead Of Boolean")
+ name="Use Bmesh",
+ default=False,
+ description="Use The Wireframe Instead Of Boolean"
+ )
category = bpy.props.StringProperty(
- name="Tab Category",
- description="Choose a name for the category of the panel",
- default="Bool Tools",
- update=update_panel)
+ name="Tab Category",
+ description="Choose a name for the category of the panel",
+ default="Bool Tools",
+ update=update_panel
+ )
solver = bpy.props.EnumProperty(
- name='Boolean Solver',
- items=(
- ('BMESH', 'BMesh', ''),
- ('CARVE', 'Carve', ''),
- ),
- default='BMESH',
- description='Specify solver for boolean operations')
+ name='Boolean Solver',
+ items=(('BMESH', 'BMesh', ''),
+ ('CARVE', 'Carve', '')),
+ default='BMESH',
+ description='Specify solver for boolean operations'
+ )
def draw(self, context):
layout = self.layout
@@ -1336,7 +1339,7 @@ classes = (
BoolTool_Config,
BoolTool_BViwer,
BTool_FastTransform,
-)
+ )
# ------------------- REGISTER ------------------------------------------------
addon_keymaps = []