more vertex replacement patches
This commit is contained in:
parent
b06de2adff
commit
5686da1c37
2 changed files with 5 additions and 2 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
// use: load.file
|
||||||
|
// use: kiri.selection
|
||||||
|
// use: kiri.platform
|
||||||
gapp.register("kiri.widgets", [], (root, exports) => {
|
gapp.register("kiri.widgets", [], (root, exports) => {
|
||||||
|
|
||||||
const { data, kiri, moto, noop } = root;
|
const { data, kiri, moto, noop } = root;
|
||||||
|
|
@ -42,7 +45,7 @@ function replace(vertices) {
|
||||||
}
|
}
|
||||||
w._scale(scale.x, scale.y, scale.z);
|
w._scale(scale.x, scale.y, scale.z);
|
||||||
}
|
}
|
||||||
platform.update();
|
api.platform.update();
|
||||||
}
|
}
|
||||||
if (vertices) {
|
if (vertices) {
|
||||||
onload(vertices);
|
onload(vertices);
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ if (load.File) return;
|
||||||
gapp.register('load.file', []);
|
gapp.register('load.file', []);
|
||||||
|
|
||||||
load.File = {
|
load.File = {
|
||||||
load_data, load_data,
|
load_data,
|
||||||
load: load_file
|
load: load_file
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue