@abi-software/scaffoldvuer 1.8.0-beta.2 → 1.8.0-beta.4
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/dist/scaffoldvuer.js +1633 -1615
- package/dist/scaffoldvuer.umd.cjs +30 -30
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/PrimitiveControls.vue +1 -3
- package/src/components/TransformationControls.vue +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/scaffoldvuer",
|
|
3
|
-
"version": "1.8.0-beta.
|
|
3
|
+
"version": "1.8.0-beta.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"*.js"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@abi-software/map-utilities": "^1.
|
|
44
|
+
"@abi-software/map-utilities": "^1.4.0-beta.0",
|
|
45
45
|
"@abi-software/sparc-annotation": "^0.3.2",
|
|
46
46
|
"@abi-software/svg-sprite": "^1.0.1",
|
|
47
47
|
"@element-plus/icons-vue": "^2.3.1",
|
|
@@ -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.
|
|
57
|
+
"zincjs": "^1.12.3"
|
|
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
|
-
|
|
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;
|