Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
179b9f2
Updated gizmos for translate/rotate/scale (#1367)
kpal81xd Sep 9, 2025
dbf60c4
Merge branch 'main' into gizmos
kpal81xd Sep 9, 2025
4ec7540
chore: update playcanvas dependency to version 2.11.3
kpal81xd Sep 9, 2025
7d95e2e
fix: properly destroy gizmos on scene unload
kpal81xd Sep 9, 2025
df61f69
feat: add customizable gizmo settings for size, preset, and rotation …
kpal81xd Sep 10, 2025
eede9f7
feat: add gizmo size and preset settings to the editor
kpal81xd Sep 10, 2025
242d0db
fix: update gizmo preset description for clarity
kpal81xd Sep 10, 2025
08ad8a6
fix: restore classic option in gizmo settings
kpal81xd Sep 10, 2025
6d5004b
chore: update playcanvas dependency to version 2.11.4
kpal81xd Sep 10, 2025
d17849d
Merge branch 'main' into gizmos
kpal81xd Sep 10, 2025
06742f6
Merge branch 'main' into gizmos-settings
kpal81xd Sep 10, 2025
b8c99a2
Merge branch 'gizmos' into gizmos-settings
kpal81xd Sep 10, 2025
60e2848
Merge branch 'main' into gizmos
kpal81xd Sep 10, 2025
fa37edb
Merge branch 'gizmos-settings' into gizmos
kpal81xd Sep 10, 2025
0a212b4
feat: enable uniform scaling for scale gizmo
kpal81xd Sep 11, 2025
1e36aaa
Merge branch 'main' into gizmos
kpal81xd Sep 11, 2025
94ade31
Merge branch 'main' into gizmos
kpal81xd Sep 11, 2025
b370daf
feat: matched existing style for transform and scale gizmos
kpal81xd Sep 12, 2025
b64029b
Merge branch 'main' into gizmos
kpal81xd Sep 12, 2025
e1e02e3
Merge branch 'main' into gizmos
kpal81xd Sep 15, 2025
a2e49a6
fix: update playcanvas dependency to version 2.11.6
kpal81xd Sep 15, 2025
65c2001
fix: update playcanvas dependency to version 2.11.6
kpal81xd Sep 15, 2025
334548e
Merge branch 'main' into gizmos
kpal81xd Sep 16, 2025
2237c7f
Merge branch 'main' into gizmos
kpal81xd Sep 16, 2025
2053e5f
Merge branch 'main' into gizmos
kpal81xd Sep 16, 2025
4baafe9
Merge branch 'main' into gizmos
kpal81xd Sep 18, 2025
cc675b5
Merge branch 'main' into gizmos
kpal81xd Oct 15, 2025
eff918b
Merge branch 'main' into gizmos
kpal81xd Oct 15, 2025
ebb101e
feat: updated gizmo settings from projectUser to user
kpal81xd Oct 15, 2025
e61101c
Merge branch 'main' into gizmos
kpal81xd Oct 15, 2025
6b0f919
Merge branch 'main' into gizmos
kpal81xd Oct 15, 2025
f35717a
Merge branch 'main' into gizmos
kpal81xd Oct 16, 2025
4378d07
Merge branch 'main' into gizmos
kpal81xd Oct 27, 2025
345b1d7
feat: added gizmo carrying while moving
kpal81xd Oct 27, 2025
4fc9159
refactor: update gizmo event handling for improved hover state tracking
kpal81xd Oct 27, 2025
e01860d
feat: emit hover state event when detaching gizmo transforms
kpal81xd Oct 27, 2025
e921674
feat: handle hover state when detaching gizmo nodes
kpal81xd Oct 27, 2025
f9b622f
feat: allow rotation while holding gizmo
kpal81xd Oct 28, 2025
6dd0603
Merge branch 'main' into gizmos
kpal81xd Oct 28, 2025
c352d9a
Merge branch 'main' into gizmos
kpal81xd Oct 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/code-editor/files-panel/files-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ editor.once('load', () => {
const path: number[] = asset.get('path');
const type: string = asset.get('type');

if (id === '524644') {
console.log('adding', path.join(','), name);
}

const item = new TreeViewItem({
allowDrop: type === 'folder',
icon: icons.get(type),
Expand Down
3 changes: 3 additions & 0 deletions src/core/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ export const ENGINE_VERSION = typeof pc !== 'undefined' ? `${pc.version}` : '0.0
// Gizmo mask
export const GIZMO_MASK = 8;

// Picker force pick tag
export const FORCE_PICK_TAG = 'force-pick';

// Layer ids
export const LAYERID_WORLD = 0;
export const LAYERID_DEPTH = 1;
Expand Down
6 changes: 6 additions & 0 deletions src/editor/attributes/reference/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ editor.once('load', () => {
}, {
name: 'settings:cameraGammaCorrection',
description: 'Set the editor camera gamma correction. This setting does not affect the game.'
}, {
name: 'settings:gizmoSize',
description: 'Set the gizmo size in the editor viewport.'
}, {
name: 'settings:gizmoPreset',
description: 'Set the gizmo preset in the editor viewport. This affects the transform gizmos\'s style and interaction behavior.'
}, {
name: 'settings:showFog',
description: 'Enable fog rendering in the viewport.'
Expand Down
Loading