-
Notifications
You must be signed in to change notification settings - Fork 65
Update to 4.4 #79
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
base: main
Are you sure you want to change the base?
Update to 4.4 #79
Conversation
Hm. If uid's are supposed to be unique, then I guess we shouldn't add the |
I think
I think it's fine as long as they're unique within one project. I don't see a reason to have them be unique outside of it. Though perhaps I'm missing something about their design that would warrant that. |
Well, if the I'm not sure it would even actually cause problems, but I think we'd want to try and discourage something like that from happening. The test project within godot-cpp itself should have it's .uid files saved in the repo, though. I don't think it does currently. |
I think they should be excluded from the template and regenerated. But adding them to the |
I mean we could alternatively just not commit it here. That would make it easier. The downside is that we will have to make sure it won't ever be committed in the future. Not sure how this might be possible via gitattributes though |
Contains changes to .gitignore file due to the addition of .uid files
Alright updated to not include the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about editing the min version from the .gdextension
file?
Not sure about the |
That's true, but funnily enough I didn't change it myself until a few months after I started working with GDExtension because I thought my extension might be 4.1 compatible and it wouldn't if I changed it. Although that's a problem that will probably be less likely to happen to anyone else once we start expanding the docs about things like these :D |
Then it seems I misunderstood backward compatibility with GDExtensions. |
It's true that because we're using the However, I think it'd be OK to leave the |
I think leaving it lower might be misleading then. Kind of like what @Ivorforce said:
I also thought this was the only safeguard. What's the reason for having this twice? |
The The second check is done by godot-cpp after the extension has been loaded, but before being initialized. This allows us to automatically derive the compatibility from the |
I could alternatively also put some more information into the steps of using the template that godot-cpp should be set to the minimum supported version? |
Contains changes to .gitignore file due to the addition of .uid files
Question is if we should add the
.uid
file?