Transparent Highlight of Selection in Forge Viewer

前提是你 提交于 2019-12-11 03:24:49

问题


Something has changed in the way the Forge Viewer is displaying our selected objects. First when we selected a window it would stay transparent, and was only highlighted with the default or given color. Right now the windows are rendered non-transparent with the default or given color:

This only happens at the first selection, the first selected object will stay non-transparent until you pan/zoom the scene or Zoom in (F) on another object:

I already tried on every selection:

viewer.impl.invalidate(true);

This will reset the pre-selected object to his original transparent material, but the selected object will be highlighted un-transparent every time.

I do not use a custom selection here, this is just default behaviour. Any advice?


回答1:


This issue was fixed in the Viewer version 6.4 Currently we are at version 7 let me know if the problem persists but should be good to go now.



来源:https://stackoverflow.com/questions/49048832/transparent-highlight-of-selection-in-forge-viewer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!