diff --git a/butils.py b/butils.py index c6737be..00e5b14 100644 --- a/butils.py +++ b/butils.py @@ -713,7 +713,7 @@ def set_text_on_curve(text_properties, recursive=True): text_properties.glyphs.clear() #TODO: fix selection with context_override - previous_selection = bpy.context.selected_objects + previous_selection = bpy.context.selected_objects if hasattr(bpy.context, "selected_objects") else [ o for o in bpy.context.scene.objects if o.select_get() ] bpy.ops.object.select_all(action='DESELECT') selected_objects = []