Open francesco-gallo opened 2 years ago
News on this?
In my case, if the loaderSettings.generateLineRenders
option is turned OFF and you pick an element
-> then the GeometryLoader.processPreparedBuffer()
method will not prepare the lineIndices
for the buffer
-> the FrozenBufferSet.lineIndexBuffer
will be undefined or null
-> binding that lineIndexBuffer to WebGL will be failed and there will be no buffer to run createLineRenderer
I handle this error by:
loaderSettings.generateLineRenders
option to truelineIndexBuffer
at the start of AbstractBufferSet.generateLines()
is needed. But then you will have no way to indicate that this element is selected. So always changing the selected element's color might be a good idea.
When I click a point on a loaded project I get the following error