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

This commit is contained in:
Vladimir Spivak 2019-10-30 12:24:01 +02:00
parent c3ced44917
commit 3f36e59239
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -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