@smarterplan/ngx-smarterplan-core 1.2.32 → 1.2.33

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.
@@ -3829,8 +3829,11 @@ class MatterportService {
3829
3829
  modelNode.obj3D.rotation.set(obj.rotation.x, obj.rotation.y, obj.rotation.z);
3830
3830
  modelNode.obj3D.scale.set(obj.scale.x, obj.scale.y, obj.scale.z);
3831
3831
  if (isAzimuthalCrown) {
3832
- modelNode.obj3D.scale.set(obj.scale.x / 5000, obj.scale.y / 5000, obj.scale.z / 5000);
3832
+ /*if(modelNode.obj3D.scale.x >= 1.0){
3833
+ modelNode.obj3D.scale.set(obj.scale.x/5000, obj.scale.y/5000, obj.scale.z/5000);
3834
+ }*/
3833
3835
  this.azimuthalCrown = modelNode;
3836
+ this.displayAzimutalCrown();
3834
3837
  }
3835
3838
  // By defaut, during creation, object has translation gizmo
3836
3839
  // => User has to click on lateral panel, and save its position after playing with it!
@@ -3940,8 +3943,6 @@ class MatterportService {
3940
3943
  return this.dictionnarySceneObjects3D.get(uuid);
3941
3944
  }
3942
3945
  async displayAzimutalCrown() {
3943
- //this.azimutalCrown.position.set(this.poseCamera.position.x+.5,this.poseCamera.position.y+.5,this.poseCamera.position.z+.5)
3944
- console.log("helooooooo!!!!");
3945
3946
  if (this.azimuthalCrown) {
3946
3947
  this.azimuthalCrown.obj3D.position.set(this.poseCamera.position.x, this.poseCamera.position.y, this.poseCamera.position.z);
3947
3948
  }