This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Description
Description
Steps to Reproduce
- Create a new Unity project and initialize the GitHub extension
- Initialize the project
- Add some new assets to the project
- Open the Project view and look under assets.
Expected behavior:
Overlay on new or modified assets should appear.
Actual behavior:
The overlay does not appear on assets without a remote.

The piece of code that needs to be fixed is here:
|
private static bool IsInitialized { get { return Repository != null && Repository.CurrentRemote.HasValue; } } |
|
|
|
public static void Initialize(IApplicationManager theManager) |
|
{ |
|
EditorApplication.projectWindowItemOnGUI -= OnProjectWindowItemGUI; |
|
EditorApplication.projectWindowItemOnGUI += OnProjectWindowItemGUI; |
|
|
|
manager = theManager; |
|
|
|
if (IsInitialized) |
|
{ |
|
Repository.StatusEntriesChanged += RepositoryOnStatusEntriesChanged; |
|
Repository.LocksChanged += RepositoryOnLocksChanged; |
|
ValidateCachedData(); |
|
} |
|
} |