Skip to content

Finished with some UI improvements to the editor - #167

Merged
maxvdec merged 7 commits into
editorfrom
feature/ui-improvements
Jul 18, 2026
Merged

Finished with some UI improvements to the editor#167
maxvdec merged 7 commits into
editorfrom
feature/ui-improvements

Conversation

@maxvdec

@maxvdec maxvdec commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@maxvdec maxvdec added this to the Alpha 9 milestone Jul 18, 2026
@maxvdec maxvdec added the editor label Jul 18, 2026
@maxvdec
maxvdec merged commit 120c189 into editor Jul 18, 2026
9 checks passed
@maxvdec
maxvdec deleted the feature/ui-improvements branch July 18, 2026 16:34

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d9636d44d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

layout->addWidget(toolbar);

model = new QFileSystemModel(this);
model->setIconProvider(&atlasFileIconProvider);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep pixmap rendering off the file-model worker

When the content browser populates any project directory, QFileSystemModel gathers file info on its worker thread; installing this provider makes that worker call AtlasFileIconProvider::icon(), which returns styling::icon(...) and renders QPixmaps with QPainter. Pixmap painting is GUI-thread-only, so browsing folders can produce thread-safety warnings or crash on some Qt platforms; prebuild/cache these icons on the GUI thread or avoid pixmap rendering in the provider.

Useful? React with 👍 / 👎.

materialEditorPanel->openMaterial(path);
materialDock->toggleView(true);
materialDock->raise();
activateWorkspace(1);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Show the workspace when opening materials

If the user has hidden the Workspace dock via the Window menu, double-clicking or creating a material now only switches the QStackedWidget index, but the material editor lives inside that hidden dock, so nothing becomes visible. The old path explicitly toggled and raised the material dock, and the new workspace menu actions do the same for the workspace dock; this asset activation path should also show/raise the Workspace dock before switching to Shading.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant