[pre_v2.0.0] Create links don't work for Location: Selected Objects
brothermechanic opened this issue · comments
brothermechanic commented
Describe the bug
Create links work only for Location: 3d Cursor
Create links don't work for Location: Selected Objects
To Reproduce
Steps to reproduce the behavior:
- Run bpy.ops.phobos.create_links() ("Create Links")
- Select location as Selected Objects
- See error
Error: Python: Traceback (most recent call last):
File "~/.config/blender/3.5/scripts/addons/phobos/blender/operators/editing.py", line 1972, in execute
modellinks.deriveLinkfromObject(
File "~/.config/blender/3.5/scripts/addons/phobos/blender/model/links.py", line 70, in deriveLinkfromObject
link = createLink({'scale': scale, 'name': linkname, 'matrix': obj.matrix_world})
NameError: name 'createLink' is not defined
Expected behavior
In Phobos v1 it works
Desktop:
- OS: Gentoo
- Version: ~amd64
Henning Wiedemann commented
Thanks for the report, this should be fixed. Please test and reopen if the issue reoccurs