bg2e-js 2.3.3 → 2.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bg2e-js.js CHANGED
@@ -8639,7 +8639,7 @@ class u0 {
8639
8639
  if (!this._renderQueue || !this._frameVisitor || !this._renderBuffer || !this._targetTexture)
8640
8640
  return;
8641
8641
  const i = w.GetInverted(oe.GetWorldMatrix(r.node));
8642
- this._renderQueue.viewMatrix = i, this._renderQueue.projectionMatrix = r.projectionMatrix, this._renderQueue.newFrame(), this._frameVisitor.delta = 0, this._frameVisitor.modelMatrix.identity(), e.accept(this._frameVisitor), this._renderBuffer.update(() => {
8642
+ this._renderQueue.viewMatrix = i, this._renderQueue.projectionMatrix = r.projectionMatrix, this._renderQueue.newFrame(), this._frameVisitor.modelMatrix.identity(), e.accept(this._frameVisitor), this._renderBuffer.update(() => {
8643
8643
  this._renderBuffer?.frameBuffer.clear(), this._renderQueue?.draw(k.SELECTION_DEFAULT);
8644
8644
  });
8645
8645
  const n = this._selectionDrawShader;
@@ -8664,7 +8664,7 @@ class d0 {
8664
8664
  if (!this._renderQueue || !this._frameVisitor || !this._renderBuffer)
8665
8665
  return;
8666
8666
  const a = w.GetInverted(oe.GetWorldMatrix(r.node));
8667
- this._renderQueue.viewMatrix = a, this._renderQueue.projectionMatrix = r.projectionMatrix, this._renderQueue.newFrame(), this._frameVisitor.delta = 0, this._frameVisitor.modelMatrix.identity(), e.accept(this._frameVisitor);
8667
+ this._renderQueue.viewMatrix = a, this._renderQueue.projectionMatrix = r.projectionMatrix, this._renderQueue.newFrame(), this._frameVisitor.modelMatrix.identity(), e.accept(this._frameVisitor);
8668
8668
  let f = null;
8669
8669
  return this._renderBuffer.update(() => {
8670
8670
  this._renderBuffer?.frameBuffer.clear(), this._renderQueue?.draw(k.SELECTION_DEFAULT), f = this._renderBuffer?.readPixels(i, n, s, o);