Closed jsb closed 6 years ago
There were a few minor bugs in the KeyedCollection and the acquire function causing freePool not to be used and this.numCreated exceeding MAX_RENDERERS after a few displays.
KeyedCollection
acquire
freePool
this.numCreated
MAX_RENDERERS
Thanks! For reference: I did some further cleanup in https://github.com/jovyan/pythreejs/commit/5cc5dcd334e52c9aae68dc8553795c07e8f6d8ca after merging.
Oh, and 4cb120c73dbfe09fe0bf73623df2b2e94f160f46 😅
There were a few minor bugs in the
KeyedCollection
and theacquire
function causingfreePool
not to be used andthis.numCreated
exceedingMAX_RENDERERS
after a few displays.