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.
@@ -4611,9 +4611,6 @@ var BlockObject = class _BlockObject extends SceneObject {
4611
4611
  }
4612
4612
  }
4613
4613
  obj.setRotation(rotation);
4614
- setTimeout(() => {
4615
- obj.setRotation(rotation);
4616
- }, 150);
4617
4614
  console.log(obj);
4618
4615
  return obj;
4619
4616
  }
@@ -4704,10 +4701,11 @@ var BlockObject = class _BlockObject extends SceneObject {
4704
4701
  }
4705
4702
  }
4706
4703
  setPosition(position) {
4707
- super.setPosition(position);
4704
+ this.position.copy(position);
4708
4705
  for (let model of this._models) {
4709
4706
  model.setPosition(position);
4710
4707
  }
4708
+ this.notifyDirty();
4711
4709
  }
4712
4710
  //TODO: should override rotation + scale methods
4713
4711
  //TODO