[Bf-extensions-cvs] [3f36e592] master: Addon: Curve Tools: Fixed 2d curves boolean result location.

Spivak Vladimir cwolf3d noreply at git.blender.org
Wed Oct 30 11:24:37 CET 2019


Commit: 3f36e59239f03f70185531ad5f6e01d873938698
Author: Spivak Vladimir (cwolf3d)
Date:   Wed Oct 30 12:24:01 2019 +0200
Branches: master
https://developer.blender.org/rBA3f36e59239f03f70185531ad5f6e01d873938698

Addon: Curve Tools: Fixed 2d curves boolean result location.

===================================================================

M	curve_tools/__init__.py
M	curve_tools/operators.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list