stride3d / stride3d/stride

Make scene editor transformation mode shortcuts work without having to click on the viewport.

Open
#355 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-GameStudio enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

I'm not sure if it's a bug, but at the moment to be able to switch transformation modes (by pressing W/E/R keys), you have to specifically click on the viewport section of the editor.
It gets in the way especially, when you did a quick change in the Entity tree, and would like to switch to rotation mode by pressing R (for example), rotate some entities in the viewport. The only way to enable rotation would be by pressing "Use rotation gizmo" on the top of viewport (because the shortcut won't work) or by clicking anywhere on the scene (that, however, modifies the current selection of entities).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the scene editor's transformation-mode shortcut handling and how keyboard focus changes between the Entity tree and viewport. Reproduce the issue by editing the Entity tree, pressing W/E/R, and confirming the shortcut changes mode without altering the current entity selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.