xeokit / xeokit-sdk

Open source JavaScript SDK for viewing high-detail, full-precision 3D BIM and AEC models in the Web browser.
https://xeokit.io
Other
736 stars 291 forks source link

setObjectsColorized colors only one face #291

Closed Amoki closed 4 years ago

Amoki commented 4 years ago

When using scene.setObjectsColorized(ids, color);, only one face is colored: 5bf428c2fcb421db6f547e961ff4551a

We can also see a gradient color around to colored face: Screenshot 2020-04-27 at 10 32 22

We're using the v0.9.96. Do you have any idea @xeolabs?

xeolabs commented 4 years ago

@Amoki looks like a breakage from recent optimizations. I'll fix ASAP.

xeolabs commented 4 years ago

@Amoki fixed in https://github.com/xeokit/xeokit-sdk/commit/8b0054651d116345cec4628a706739f68191bbc7

Amoki commented 4 years ago

Thanks!