From 3f36e59239f03f70185531ad5f6e01d873938698 Mon Sep 17 00:00:00 2001 From: "Spivak Vladimir (cwolf3d)" Date: Wed, 30 Oct 2019 12:24:01 +0200 Subject: Addon: Curve Tools: Fixed 2d curves boolean result location. --- curve_tools/__init__.py | 2 +- curve_tools/operators.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'curve_tools') 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 -- cgit v1.2.3