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.
@@ -4565,9 +4565,6 @@ var _BlockObject = class _BlockObject extends SceneObject {
4565
4565
  }
4566
4566
  }
4567
4567
  obj.setRotation(rotation);
4568
- setTimeout(() => {
4569
- obj.setRotation(rotation);
4570
- }, 150);
4571
4568
  console.log(obj);
4572
4569
  return obj;
4573
4570
  }
@@ -4658,10 +4655,11 @@ var _BlockObject = class _BlockObject extends SceneObject {
4658
4655
  }
4659
4656
  }
4660
4657
  setPosition(position) {
4661
- super.setPosition(position);
4658
+ this.position.copy(position);
4662
4659
  for (let model of this._models) {
4663
4660
  model.setPosition(position);
4664
4661
  }
4662
+ this.notifyDirty();
4665
4663
  }
4666
4664
  //TODO: should override rotation + scale methods
4667
4665
  //TODO