clear surface selection on view mode change
This commit is contained in:
parent
a7eb9cea64
commit
9068276ad6
4 changed files with 8 additions and 6 deletions
|
|
@ -21,6 +21,8 @@ Full docs @ https://docs.grid.space/projects/kiri-moto
|
||||||
* `C` significant speed-up for large surface selections
|
* `C` significant speed-up for large surface selections
|
||||||
* `C` multi-body identification and isolation
|
* `C` multi-body identification and isolation
|
||||||
* `-` parameterize svg and image import
|
* `-` parameterize svg and image import
|
||||||
|
* `-` control wireframe transparency
|
||||||
|
* `-` show camera focal point
|
||||||
|
|
||||||
|
|
||||||
# Release 3.3 (2022-04-01)
|
# Release 3.3 (2022-04-01)
|
||||||
|
|
|
||||||
|
|
@ -73,8 +73,7 @@ CAM.init = function(kiri, api) {
|
||||||
updateStock(undefined, 'internal');
|
updateStock(undefined, 'internal');
|
||||||
UI.func.animate.style.display = isCamMode ? '' : 'none';
|
UI.func.animate.style.display = isCamMode ? '' : 'none';
|
||||||
if (!isCamMode) {
|
if (!isCamMode) {
|
||||||
func.tabClear();
|
func.clearPops();
|
||||||
func.traceDone();
|
|
||||||
UI.label.slice.innerText = LANG.slice;
|
UI.label.slice.innerText = LANG.slice;
|
||||||
UI.label.preview.innerText = LANG.preview;
|
UI.label.preview.innerText = LANG.preview;
|
||||||
UI.label.export.innerText = LANG.export;
|
UI.label.export.innerText = LANG.export;
|
||||||
|
|
@ -90,9 +89,7 @@ CAM.init = function(kiri, api) {
|
||||||
isArrange = (mode === VIEWS.ARRANGE);
|
isArrange = (mode === VIEWS.ARRANGE);
|
||||||
isAnimate = false;
|
isAnimate = false;
|
||||||
CAM.animate_clear(api);
|
CAM.animate_clear(api);
|
||||||
func.tabDone();
|
func.clearPops();
|
||||||
func.traceDone();
|
|
||||||
func.opRender();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
api.event.on("settings.saved", (settings) => {
|
api.event.on("settings.saved", (settings) => {
|
||||||
|
|
|
||||||
|
|
@ -602,7 +602,7 @@ const api = exports({
|
||||||
},
|
},
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
window.location = "/choose";
|
window.location = "/choose?back";
|
||||||
},
|
},
|
||||||
|
|
||||||
clear() {
|
clear() {
|
||||||
|
|
|
||||||
|
|
@ -1063,6 +1063,9 @@ gapp.register("moto.space", [], (root, exports) => {
|
||||||
fog.near = dist;
|
fog.near = dist;
|
||||||
fog.far = dist * fog.mult;
|
fog.far = dist * fog.mult;
|
||||||
}
|
}
|
||||||
|
// todo: option to clip for close views
|
||||||
|
// camera.near = dist / 2;
|
||||||
|
// camera.updateProjectionMatrix();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue