You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add fine-grained disabling of SourceGenerators
This allows manual testing and/or alternate source generators to provide functionality without conflict.
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Godot.SourceGenerators
|
||||
{
|
||||
public void Execute(GeneratorExecutionContext context)
|
||||
{
|
||||
if (context.AreGodotSourceGeneratorsDisabled())
|
||||
if (context.IsGodotSourceGeneratorDisabled("ScriptPathAttribute"))
|
||||
return;
|
||||
|
||||
if (context.IsGodotToolsProject())
|
||||
|
||||
Reference in New Issue
Block a user