Skip to content

Fixes for buttons in the tool panel#279

Open
kristoff3r wants to merge 2 commits into
jbuehler23:mainfrom
kristoff3r:ks/drag-fixes
Open

Fixes for buttons in the tool panel#279
kristoff3r wants to merge 2 commits into
jbuehler23:mainfrom
kristoff3r:ks/drag-fixes

Conversation

@kristoff3r
Copy link
Copy Markdown
Contributor

I noticed that clicking some of the tool buttons didn't work, and after some (AI-assisted) triaging I realized that a bunch of the drag operations were firing when clicking and immediately going back to object mode, plus some insufficient interaction guards. After fixing this the object mode button no longer worked, which I fixed by always dismissing active modals.

The whole system feels very brittle and it would be surprising if it's entirely correct now, even though I didn't find any issues when clicking around a bit. This part of the editor needs better abstractions so the individual operators can express their intent and not deal with the underlying implementation.

I noticed that clicking some of the tool buttons didn't work, and after some
(AI-assisted) triaging I realized that a bunch of the drag operations were
firing when clicking and immediately going back to object mode, plus some
insufficient interaction guards. After fixing this the object mode button no
longer worked, which I fixed by always dismissing active modals.

The whole system feels very brittle and it would be surprising if it's entirely
correct now, even though I didn't find any issues when clicking around a bit.
This part of the editor needs better abstractions so the individual operators
can express their intent and not deal with the underlying implementation.
Copy link
Copy Markdown
Owner

@jbuehler23 jbuehler23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think as discussed on discord, this entire suite needs to be cleaned up properly. As I plan to move more toward QWER based editing (Selection, Transform, Rotation, Scale, respectively). This means the Object Mode kind of gets moved out into a dedicated Select tool.

Appreciate this is a best effort for now, and happy if it Just Works

@jbuehler23 jbuehler23 enabled auto-merge (squash) May 24, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants