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:
authorSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-10-30 13:24:01 +0300
committerSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-10-30 13:24:01 +0300
commit3f36e59239f03f70185531ad5f6e01d873938698 (patch)
treece44a9545644246ce3576d1455451bde4d856ce4 /curve_tools
parentc3ced44917124c1f4f156a71728c12eda6101daa (diff)
Addon: Curve Tools: Fixed 2d curves boolean result location.
Diffstat (limited to 'curve_tools')
-rw-r--r--curve_tools/__init__.py2
-rw-r--r--curve_tools/operators.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/curve_tools/__init__.py b/curve_tools/__init__.py
index 20b353a3..fc760e1b 100644
--- a/curve_tools/__init__.py
+++ b/curve_tools/__init__.py
@@ -25,7 +25,7 @@ bl_info = {
"name": "Curve Tools",
"description": "Adds some functionality for bezier/nurbs curve/surface modeling",
"author": "Mackraken",
- "version": (0, 4, 1),
+ "version": (0, 4, 2),
"blender": (2, 80, 0),
"location": "View3D > Tool Shelf > Edit Tab",
"warning": "WIP",
diff --git a/curve_tools/operators.py b/curve_tools/operators.py
index 7e554483..a4008b47 100644
--- a/curve_tools/operators.py
+++ b/curve_tools/operators.py
@@ -1073,6 +1073,7 @@ class CurveBoolean(bpy.types.Operator):
Curve = object_utils.object_data_add(context, dataCurve)
bpy.context.view_layer.objects.active = Curve
Curve.select_set(True)
+ Curve.location = (0.0, 0.0, 0.0)
for iCurve in range(0, len_selected_curves):
matrix_world = selected_Curves[iCurve].matrix_world