Skip to content

Conversation

@Saalvage
Copy link
Contributor

This PR includes 3 independent commits/changes, please cherry-pick as needed!

  1. The flag ResX.Scripts was 3 instead of 4, which meant it would forcefully include UIDs and scenes and vice-versa.
  2. I decided to rename ResX to ResI. Without any context and after some time has passed since working on it, ResX parsed in my mind as ResourceExclude. I'm personally not a fan of the abbreviated enums in general, but I think at least ResI parses more naturally as ResourceInclude. I also added some documentation to clarify. I'm not sure if this is considered a breaking change since it's only been included in pre-releases thus far.
  3. I adjusted the namespace to GodotSharp.SourceGenerators. I'm not sure if the current namespace was consciously decided on or just there as an unchanged default. The extension attributes always use Godot and the only other enum I could find (Scope) uses GodotSharp.SourceGenerators.

@Saalvage Saalvage force-pushed the fix/resource-tree-generator-type-include-enum branch from 381d743 to cf67b53 Compare November 25, 2025 00:49
@Saalvage Saalvage force-pushed the fix/resource-tree-generator-type-include-enum branch from cf67b53 to 7b8bcaa Compare November 25, 2025 00:55
@Saalvage Saalvage changed the title Fix resource tree generator enum Resource Tree Generator: Fix Resource Include Enum Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant