ln-12 / blainder-range-scanner

BlAInder range scanner is a Blender add-on to simulate Lidar and Sonar measurements. The result can be saved as annotated 2D image or 3D point cloud.
GNU General Public License v3.0
125 stars 25 forks source link

ViewLayer does not contain object #21

Closed thomasTUK closed 2 years ago

thomasTUK commented 2 years ago

Hello there,

I wanted to prepare different layers for sensor simulation, so I placed Collection.001 on one layer and Collection.002 in a different layer, see attached picture (still active in the View Layer) grafik

No then I am executring the generation of point cloud for one scene, it does not work and I get the error that the other cube is not in the scene

grafik

Collection.001 and Collection.002 contain excactly the same. Is this a bug or meant to be? If meant to be, that's alright, just wanted to check in.

thomasTUK commented 2 years ago

Here is the file test.zip

ln-12 commented 2 years ago

Hey @thomasTUK, I remember having issues with collections when implementing the add-on. I currently don't have time to look into it, but I will update you as soon as I know more.

thomasTUK commented 2 years ago

Hi @ln-12 no worries, I did just split my Blender File into five each. So For now, I can do my simualtions :)

ln-12 commented 2 years ago

@thomasTUK commit https://github.com/ln-12/blainder-range-scanner/commit/840d48038697aee966eb48d0676679ff7d08abe7 fixes the issue for me. Could you please check it for your workflow (feel free to reopen if not)?

thomasTUK commented 2 years ago

Did work! Many thanks!