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

Improved 3D Scene Importer #47166

Merged
merged 1 commit into from
Mar 22, 2021
Merged

Conversation

reduz
Copy link
Member

@reduz reduz commented Mar 19, 2021

Implements godotengine/godot-proposals#1823

  • Added option for importers to show an Advanced settings dialog
  • Created advanced settings dialog for Scene Importer
  • Cleaned up importers (remove many old/unused options)
  • Added the ability to customize every node, material, mesh and animation individually
  • Saving to animations and meshes to files is now a manual process, making it more predictable
  • Added the ability for materials to be replaced by external files (or to be made external, up to you).
  • When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it.

image

image

WARNING: Lightmap UV unwrap is not working, it needs to be re-made.

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.

I've only reviewed the UI part of this pull request.

editor/import_dock.cpp Outdated Show resolved Hide resolved
editor/import_dock.cpp Outdated Show resolved Hide resolved
@@ -893,12 +893,13 @@ void Window::_window_input(const Ref<InputEvent> &p_ev) {
}

if (exclusive_child != nullptr) {
/*
Copy link
Member

Choose a reason for hiding this comment

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

What was the reasoning for this removal?

Copy link
Member Author

Choose a reason for hiding this comment

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

I see no reason for it, and makes the built-in mode unusable

Copy link
Member

Choose a reason for hiding this comment

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

Then why this code is commented out not removed? Such code is usually never used again and just litters the codebase.

Copy link
Member Author

Choose a reason for hiding this comment

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

no, this will need more through inspection, I have an idea why it is there but it is causing problems, it needs to be replaced by something else, but prefer to do after this is merged.

Copy link
Contributor

Choose a reason for hiding this comment

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

@reduz are you talking about #40227?

editor/import/scene_import_settings.cpp Outdated Show resolved Hide resolved
@akien-mga akien-mga dismissed stale reviews from YeldhamDev and Calinou March 22, 2021 13:32

Changes done.

* Added option for importers to show an Advanced settings dialog
* Created advanced settings dialog for Scene Importer
* Cleaned up importers (remove many old/unused options)
* Added the ability to customize every node, material, mesh and animation individually
* Saving to animations and meshes to files is now a manual process, making it more predictable
* Added the ability for materials to be replaced by external files (or to be made external, up to you).
* When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it.

WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
@akien-mga akien-mga merged commit 3334a53 into godotengine:master Mar 22, 2021
@akien-mga
Copy link
Member

Thanks!

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.

9 participants