Skip to content

Commit

Permalink
Fixed renaming of components causing bad codegen.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Mar 22, 2024
1 parent 10efb24 commit 4c299e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ private static async Task HandleGumProjectOrElementFileChange(FilePath filePath,
}
else
{
CodeGeneratorManager.Self.GenerateDueToFileChange(filePath.FullPath);
CodeGeneratorManager.Self.GenerateDueToFileChange(filePath);
}

// Behaviors could have been added, so generate them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ public void LoadGumxIfNecessaryFromDirectory(string gumxDirectory, bool force =
}
if(Gum.Managers.ObjectFinder.Self.GumProjectSave != null)
{
ObjectFinder.Self.EnableCache();
ObjectFinder.Self.ForceResetCache();
}
InitializeElements();
}
Expand Down

0 comments on commit 4c299e6

Please sign in to comment.