From bead484bb7223d2cc9f8acc843224ef98b3f3b4a Mon Sep 17 00:00:00 2001
From: Pullusb <bernou.samuel@gmail.com>
Date: Mon, 5 Apr 2021 18:34:53 +0200
Subject: [PATCH] microfix

---
 OP_setup_curve_path.py | 2 +-
 __init__.py            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/OP_setup_curve_path.py b/OP_setup_curve_path.py
index aaa7946..fb29269 100644
--- a/OP_setup_curve_path.py
+++ b/OP_setup_curve_path.py
@@ -102,7 +102,7 @@ class UAC_OT_create_curve_path(bpy.types.Operator):
         context.space_data.overlay.show_curve_normals = True
         context.space_data.overlay.normals_length = 0.2
 
-        context.scene.anim_cycle_settings.path_to_follow = curve.name
+        context.scene.anim_cycle_settings.path_to_follow = curve
         ## back to objct mode ?
         # bpy.ops.object.mode_set(mode='OBJECT', toggle=False)
 
diff --git a/__init__.py b/__init__.py
index 3d42045..e8bfea7 100644
--- a/__init__.py
+++ b/__init__.py
@@ -2,7 +2,7 @@ bl_info = {
     "name": "Unfold Anim Cycle",
     "description": "Anim utility to develop walk/run cycles along a curve",
     "author": "Samuel Bernou",
-    "version": (0, 1, 0),
+    "version": (0, 1, 1),
     "blender": (2, 92, 0),
     "location": "View3D",
     "warning": "WIP",