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

Bake RESET animation. #51057

Merged
merged 1 commit into from
Jul 30, 2021
Merged

Bake RESET animation. #51057

merged 1 commit into from
Jul 30, 2021

Conversation

fire
Copy link
Member

@fire fire commented Jul 30, 2021

Co-Authored-by MMMaellon
Co-Authored-by Eron.

Corresponding pr to godotengine/godot-proposals#2961.

@fire fire requested a review from a team as a code owner July 30, 2021 07:24
@fire fire force-pushed the bake-reset-anim branch 2 times, most recently from f26b073 to 396d4c8 Compare July 30, 2021 07:28
@akien-mga
Copy link
Member

Co-Authored-by MMMaellon
Co-Authored-by Eron.

Note that if you want them properly credited as authors by GitHub, you have to use this exact syntax (and IIRC at the end of the commit message):

Co-authored-by: Name <email>

@akien-mga akien-mga added cherrypick:3.x Considered for cherry-picking into a future 3.x release enhancement topic:import labels Jul 30, 2021
@akien-mga akien-mga added this to the 4.0 milestone Jul 30, 2021
@akien-mga akien-mga requested review from RandomShaper and a team July 30, 2021 07:52
@fire fire force-pushed the bake-reset-anim branch 5 times, most recently from 41aeaf8 to 4996027 Compare July 30, 2021 08:03
@fire
Copy link
Member Author

fire commented Jul 30, 2021

@RandomShaper
Copy link
Member

Code-wise I don't see any big issue and it looks as it does what it promises.

If anything, I'd add a comment with a bird view explanation of the algorithm, like a numered bullet list) in editor_importer_bake_reset.cpp, even including some URLs of the reference materials in the proposal. The goal is to make this somehow obscure piece of code not so intimidating for potential future maintainers.

@fire fire force-pushed the bake-reset-anim branch from 4996027 to de78bab Compare July 30, 2021 08:24
@fire
Copy link
Member Author

fire commented Jul 30, 2021

I have copy and pasted the proposal details into the source file.

@fire fire force-pushed the bake-reset-anim branch 3 times, most recently from 9d0858c to 8737ba1 Compare July 30, 2021 08:36
@RandomShaper
Copy link
Member

Cool, but now I'd say it's too unscoped. I'm sorry to annoy you with this, but it'd be better to include an explanation about what each step of the algorithm do (which may include references to the implementation it has been inspired in), instead of the rationale for adding the feature.

@fire fire force-pushed the bake-reset-anim branch from 8737ba1 to dda7510 Compare July 30, 2021 08:50
@fire fire force-pushed the bake-reset-anim branch from dda7510 to cb39d7e Compare July 30, 2021 08:52
@fire fire force-pushed the bake-reset-anim branch 2 times, most recently from dfbab8a to 3c78bd6 Compare July 30, 2021 08:59
Co-authored-by: MMMaellon <mmmaellon@gmail.com>
Co-authored-by: Eron <rufsketch1@gmail.com>
@fire fire force-pushed the bake-reset-anim branch from 3c78bd6 to b742076 Compare July 30, 2021 09:00
@fire
Copy link
Member Author

fire commented Jul 30, 2021

@RandomShaper I added some comments at crucial parts of the algorithm, but it doesn't seem much.

@RandomShaper
Copy link
Member

RandomShaper commented Jul 30, 2021

I think it does the trick quite well. 😀

Copy link
Member

@RandomShaper RandomShaper left a comment

Choose a reason for hiding this comment

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

Looks good to me. My only doubt is about how much green light we can consider the proposal got. For my part, I understand this feature aligns very well with the Godot principle of parallel work among a team and the implementation is clean.

@akien-mga akien-mga merged commit a35b4bf into godotengine:master Jul 30, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

If the feature is wanted in 3.x too, this might need a dedicated backport, as the resource_importer_scene.cpp code changed significantly.

@fire
Copy link
Member Author

fire commented Aug 3, 2021

I'll see what I can do.

Edited:

Thinking about the topic for a few minutes, I want to complete my todo list of items like 8 uvs for gltf2 (4.x) and gltf2 export bugfixes (for 3.x and 4.x) done.

@slapin
Copy link
Contributor

slapin commented Aug 3, 2021

Could this be backported to 3.x please?

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.

4 participants