Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing tooltips on "Advanced Import Settings for Scene" window #104804

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

etherealxx
Copy link
Contributor

@etherealxx etherealxx commented Mar 30, 2025

Resolves #83484

This commit fixes a regression since 4.2 where settings in the inspector panel on the right part of the "Advanced Import Settings for Scene" window does not contain the same tooltips as its Import Dock counterpart (which were retrieved from the XML class reference).

Before (4.4.1.stable) :
image

After:
image

The fix are borrowed from the Import Dock code (editor\import_dock.cpp) that has the same tooltips.

Note: I don't think hard coding "ResourceImporterScene" as the object class is the best idea, perhaps those who knows the source better could help? Though i think it's safe for this case?

@etherealxx etherealxx requested a review from a team as a code owner March 30, 2025 15:51
@etherealxx

This comment was marked as outdated.

@AThousandShips

This comment was marked as resolved.

@etherealxx

This comment was marked as resolved.

Copy link
Member

@fire fire left a comment

Choose a reason for hiding this comment

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

It looks good, but maybe editor people want to look.

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

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

Tested locally, it works as expected.

In Godot, it's possible to customize how the engine imports 3D resource,
by either clicking "Advanced..." button on Import Dock or double
clicking the resource on FileSystem Dock. Doing so will open the
Advanced Import Settings window, where user could inspect the 3D resource
in a viewport, with the scene tree on the left and an inspector panel
akin to the Import dock on the left. It contains the same settings from
the Import dock, with some advanced additions.

This commit fixes a regression since 4.2 where settings in the inspector
panel on the right part of the window does not contain the same tooltips
as its Import Dock counterpart (which were retrieved from the XML class
reference).
@etherealxx etherealxx force-pushed the fix-advanced-import-inspector-missing-tooltip branch from 6694006 to 7e00ea5 Compare April 1, 2025 03:31
@etherealxx etherealxx requested a review from Calinou April 1, 2025 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Advanced mesh import dialogue missing parameter tooltips
4 participants