Open MartinMerkl opened 5 months ago
Related to #16 as both would require a redesign of how a mesh is associated to a light effect.
In theory this could be solved in three ways (not sure which one is possible with Blender's Python API):
@mrkvel If we added an option to select a collection instead of a single mesh only, would that solve the problem for you? This way we would not need to add widgets to manage the contents of the collection as you could build the collection in the Outliner.
@ntamas Thanks for looking into this. ad 1.) My idea was only to expand the single-mesh option to a collection of meshes by iterating the input collection. Right now I don't see any benefit in testing the containment for all meshes. ad 2.) I don't know how "painful" it would be for other users but could this be solved by forcing the user to use a collection? And then the containment test would be done against any of the meshes inside the collection. There would be more collections inside the outliner but it would also force the user to have a better "bookkeeping" of the meshes ad 3.) I would not go this way.
@mrkvel If we added an option to select a collection instead of a single mesh only, would that solve the problem for you? This way we would not need to add widgets to manage the contents of the collection as you could build the collection in the Outliner.
yes, this would work.
Would it be possible to allow using a collection of mesh objects instead of a single object for the "Mesh" option of LED effect? This would reduce the copying of LED effects for me and allow for better organization of LED effects. Joining multiple mesh objects into a single object is not a solution because then they can't be animated independently.![image](https://github.com/skybrush-io/studio-blender/assets/103528566/cb50b82b-4a6d-410a-a042-2ce53586b2c5)