Help with Developing Addon: Having bug with outliner

Hello, I’m having some issues with the outliner with my addon code (Blender 2.80). I’m not quite sure what is causing the issue. The issue is that when I run my addon, I create a collection for several generated objects. But the outliner lists the item twice even though there is only one copy of each object. I have included a link to my code and a screenshot. Please let me know if there is a better place to post my question or if any more information should be provided. Thanks!
image

1 Like

If you need help with add-on development, I would suggest you ask your question on a community website like Blender’s Stack Exchange. In this case this has already been answered: scripting - Why does adding an object to a collection with Python not remove it from its old collection? - Blender Stack Exchange

6 Likes

Thank you, Robert! I will post addon development questions there in the future insteadinstead.

1 Like