minerender 2.1.0-alpha.14 → 2.1.0-alpha.15

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.
@@ -4466,9 +4466,6 @@ var BlockObject = class _BlockObject extends SceneObject {
4466
4466
  }
4467
4467
  }
4468
4468
  obj.setRotation(rotation);
4469
- setTimeout(() => {
4470
- obj.setRotation(rotation);
4471
- }, 150);
4472
4469
  console.log(obj);
4473
4470
  return obj;
4474
4471
  }
@@ -4559,10 +4556,11 @@ var BlockObject = class _BlockObject extends SceneObject {
4559
4556
  }
4560
4557
  }
4561
4558
  setPosition(position) {
4562
- super.setPosition(position);
4559
+ this.position.copy(position);
4563
4560
  for (let model of this._models) {
4564
4561
  model.setPosition(position);
4565
4562
  }
4563
+ this.notifyDirty();
4566
4564
  }
4567
4565
  //TODO: should override rotation + scale methods
4568
4566
  //TODO