xeokit-sdk icon indicating copy to clipboard operation
xeokit-sdk copied to clipboard

Values of numVisibleObjects and visibleObjectsIds are not matching

Open rafaeldemiranda95 opened this issue 2 years ago • 2 comments

Hello.

I have a problem with a federated model. I'm trying to make some elements invisible and other elements visible and selected, but values of numVisibleObjects and visibleObjectsIds are not matching:

image

image

Could this issue be resolved with Xeokit or would it be a modeling issue?

Model: https://github.com/rafaeldemiranda95/ifc-problem-rubk

rafaeldemiranda95 avatar Sep 29 '22 22:09 rafaeldemiranda95

Hi, this sounds like a xeokit issue, since the Viewer should never allow those counts to mismatch like that - I'll investigate.

Would it be OK with you if I added these models to the xeokit-model-conversion-tests? Then we can use them for a sort of regression test.

xeolabs avatar Sep 30 '22 05:09 xeolabs

Yes, you can use these models. Thank you.

rafaeldemiranda95 avatar Sep 30 '22 14:09 rafaeldemiranda95

Hi, could you try again with the latest alpha release? This may be fixed now, see https://github.com/xeokit/xeokit-sdk/issues/991

xeolabs avatar May 10 '23 06:05 xeolabs

Hello, @xeolabs.

The problem was fixed. Thank you!

rafaeldemiranda95 avatar Sep 25 '23 11:09 rafaeldemiranda95