@abi-software/scaffoldvuer 1.8.0-beta.3 → 1.8.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "1.8.0-beta.3",
3
+ "version": "1.8.0-beta.5",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,7 +54,7 @@
54
54
  "vue": "^3.4.21",
55
55
  "vue-router": "^4.2.5",
56
56
  "vue3-component-svg-sprite": "^0.0.1",
57
- "zincjs": "^1.12.2"
57
+ "zincjs": "^1.12.4"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@vitejs/plugin-vue": "^4.6.2",
@@ -132,9 +132,7 @@ export default {
132
132
  this.$refs.linesControls.setObject(object);
133
133
  this.activeName = "lControls";
134
134
  }
135
- if (!object.isTextureSlides) {
136
- this.$refs.transformationControls.setObject(object);
137
- }
135
+ this.$refs.transformationControls.setObject(object);
138
136
  }
139
137
  if (object && object.getMorph()) {
140
138
  this.material = object.getMorph().material;
@@ -79,7 +79,7 @@
79
79
  />
80
80
  </el-col>
81
81
  </el-row>
82
- <el-row class="tool-row">
82
+ <el-row class="tool-row" v-if="enableScaling">
83
83
  <el-col :offset="0" :span="6">
84
84
  Scale:
85
85
  </el-col>
@@ -143,6 +143,7 @@ export default {
143
143
  min: [0, 0, 0],
144
144
  max: [1, 1, 1],
145
145
  zincObject: undefined,
146
+ enableScaling: true
146
147
  };
147
148
  },
148
149
  watch: {
@@ -179,6 +180,7 @@ export default {
179
180
  } else {
180
181
  this.scale = morph.scale.x;
181
182
  }
183
+ this.enableScaling = this.zincObject.isTextureSlides ? false : true;
182
184
  }
183
185
  } else {
184
186
  this.zincObject = undefined;