Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix: restore gizmo hover CI and optimize 3d multi-selection

yhhad3f5f79e918
diff --git a/.github/workflows/editor-acceptance.yml b/.github/workflows/editor-acceptance.yml
index e8f9913bb..1d280b6a5 100644
--- a/.github/workflows/editor-acceptance.yml
+++ b/.github/workflows/editor-acceptance.yml
@@ -12,6 +12,10 @@ on:
required: true
default: design-frame
type: string
+ gizmo_hover:
+ description: Also verify trusted transform-handle hover at all sizes
+ type: boolean
+ default: false
permissions:
contents: read
@@ -62,3 +66,16 @@ jobs:
name: editor-acceptance-frames
path: output/editor-acceptance/
retention-days: 7
+ - name: Verify trusted transform-handle hover
+ if: inputs.gizmo_hover
+ env:
+ ELECTRON_DISABLE_SANDBOX: '1'
+ ESTELLA_MCP_EDITOR_VISIBLE: '1'
+ run: node tools/verify-gizmo-hover.mjs
+ - name: Keep trusted hover evidence
+ if: always() && inputs.gizmo_hover
+ uses: actions/upload-artifact@v7
+ with:
+ name: gizmo-hover-editor-checks
+ path: output/gizmo-hover-ci/
+ retention-days: 7
diff --git a/CHANGELOG.md b/CHANGELOG.md
index efc279352..d9215480b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,10 @@ published separately; it ships inside the editor.
- **UI tabs and tooltips.** TabView connects ordinary Toggles to content pages, with ordered entity bindings, keyboard navigation and an editor preview that leaves the saved initial page untouched. Tooltip adds delayed hover, keyboard-focus and touch-long-press hints, screen-edge placement and project theme or prefab styling. Both are available in the UI Widgets palette.
- **3D swing/twist and six-axis joints.** SwingTwistJoint3D adds an elliptical swing cone and twist limits; SixDOFJoint3D locks, limits or frees each translation/rotation axis. Both support live velocity motors. The existing Details controls expose degree-based authoring, and selected viewport gizmos show limits. The 3D Physics example includes a shoulder and carriage with reversible motors. Partial property searches keep only matching generic fields. Headless solver checks do not replace target-device acceptance.
+### Fixed
+
+- **Faster 3D multi-selection.** Selected mesh overlays snapshot WASM transform scalars once per instance and reuse world vertices, projection buffers and complete silhouette edges until their inputs change. Deselecting releases derived geometry. Multi-object Details resolves entities in one scene pass. The optimization preserves all selection outlines and adds no drawing limits.
+
## [0.92.0] - 2026-10-18
### Added
diff --git a/desktop b/desktop
index 5889aeafe..fff2f1d8e 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 5889aeafe373c388d3f673cfa7ad8d679c5d50df
+Subproject commit fff2f1d8eba63f98d5a2e45b3da0c129f4661e67
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 342cc872c..1691f4378 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -28,6 +28,8 @@ export const NOTES_FLOOR = 'v0.65.0';
* the reader recognises anyway.
*/
export const NOTED = {
+ 'fix(editor): reuse mesh selection geometry and index multi-inspection': { note: 'Faster 3D multi-selection.' },
+ 'fix: restore gizmo hover CI and optimize 3d multi-selection': { note: 'Faster 3D multi-selection.' },
'feat: add shared web runtime support for LAN device preview': { note: 'One-click LAN device preview.' },
'feat(editor): add quick QR device preview beside Play': { note: 'One-click LAN device preview.' },
'fix: serialize binaryen optimization on windows': { internal: 'Uses one optimizer worker after wider builds reproduced heap corruption with four; release optimization flags stay unchanged.' },
diff --git a/tools/verify-gizmo-hover.mjs b/tools/verify-gizmo-hover.mjs
index fed7cb90c..2c8609210 100644
--- a/tools/verify-gizmo-hover.mjs
+++ b/tools/verify-gizmo-hover.mjs
@@ -1,8 +1,17 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
import fs from 'node:fs';import path from 'node:path';import {fileURLToPath} from 'node:url';import assert from 'node:assert/strict';import {runElectron} from './lib/electronRun.mjs';
-if(!process.env.CI)throw Error('This editor acceptance check runs only in CI; local verification must not launch the editor.');
+import {build} from 'esbuild';
+const planOnly=process.argv.includes('--plan');
+if(!process.env.CI&&!planOnly)throw Error('This editor acceptance check runs only in CI; local verification must not launch the editor.');
const root=path.resolve(path.dirname(fileURLToPath(import.meta.url)),'..'),out=path.join(root,'output/gizmo-hover-ci');fs.mkdirSync(out,{recursive:true});
+const compiled=await build({entryPoints:[path.join(root,'desktop/src/tools/gizmo.ts')],bundle:true,write:false,platform:'node',format:'esm',alias:{'@':path.join(root,'desktop/src')}});
+const {GIZMO}=await import(`data:text/javascript;base64,${Buffer.from(compiled.outputFiles[0].text).toString('base64')}`);
+const cases=[{mode:'move',x:GIZMO.axisLen*0.65,y:0,id:'move.x',cursor:'move'},{mode:'scale',x:GIZMO.axisLen,y:0,id:'scale.x',cursor:'ew-resize'},{mode:'rotate',x:GIZMO.ringRadius,y:0,id:'rotate.z',cursor:'grab'},
+ {mode:'universal',name:'universal-move',x:GIZMO.axisLen*0.65,y:0,id:'move.x',cursor:'move'},
+ {mode:'universal',name:'universal-scale',x:GIZMO.universalScaleLen,y:0,id:'scale.x',cursor:'ew-resize'},
+ {mode:'universal',name:'universal-rotate',x:GIZMO.ringRadius/Math.SQRT2,y:-GIZMO.ringRadius/Math.SQRT2,id:'rotate.z',cursor:'grab'}];
+if(planOnly){console.log(JSON.stringify(cases));process.exit(0);}
const project=fs.mkdtempSync(path.join(out,'project-'));fs.mkdirSync(path.join(project,'assets/scenes'),{recursive:true});fs.mkdirSync(path.join(project,'src'));
fs.writeFileSync(path.join(project,'project.esproject'),JSON.stringify({formatVersion:'1',name:'Hover acceptance',defaultScene:'assets/scenes/main.esscene',spineVersion:'none'}));
fs.writeFileSync(path.join(project,'assets/scenes/main.esscene'),JSON.stringify({version:'1.0',name:'Main',entities:[{id:1,name:'Subject',parent:null,children:[],visible:true,components:[{type:'Transform',data:{position:{x:0,y:0,z:0}}},{type:'Sprite',data:{size:{x:60,y:60},color:{r:1,g:0,b:1,a:1}}}]}]}));
@@ -10,10 +19,7 @@ fs.writeFileSync(path.join(project,'src/main.ts'),'export {};');fs.writeFileSync
const records=[];
const read="(() => { const s=document.querySelector('.viewport__stage'); return {hover:s?.dataset.gizmoHover,cursor:s?.style.cursor,size:JSON.parse(localStorage.getItem('estella.settings') || '{}')['viewport.gizmoSize'],scene:JSON.stringify(window.__estellaEditor.surface.serializeScene())}; })()";
try{
- for(const size of [0.5,1,2]) for(const c of [{mode:'move',x:50,y:0,id:'move.x',cursor:'move'},{mode:'scale',x:58,y:0,id:'scale.x',cursor:'ew-resize'},{mode:'rotate',x:42,y:0,id:'rotate.z',cursor:'grab'},
- {mode:'universal',name:'universal-move',x:42,y:0,id:'move.x',cursor:'move'},
- {mode:'universal',name:'universal-scale',x:80,y:0,id:'scale.x',cursor:'ew-resize'},
- {mode:'universal',name:'universal-rotate',x:30,y:-30,id:'rotate.z',cursor:'grab'}]){
+ for(const size of [0.5,1,2]) for(const c of cases){
const name=c.name ?? c.mode;
const run=runElectron(['.'],{via:'npx',encoding:'utf8',cwd:path.join(root,'desktop'),timeout:180000,env:{
ESTELLA_SHOT:path.join(out,name+'-'+size+'.png'),ESTELLA_SHOT_PROJECT:project,ESTELLA_SHOT_SCENE:'assets/scenes/main.esscene',