9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
28 lines
712 B
C#
28 lines
712 B
C#
using Unity.PlasticSCM.Editor.Views.IncomingChanges;
|
|
using Unity.PlasticSCM.Editor.Views.PendingChanges;
|
|
|
|
namespace Unity.PlasticSCM.Editor
|
|
{
|
|
internal static class AutoRefresh
|
|
{
|
|
internal static void PendingChangesView(PendingChangesTab pendingChangesTab)
|
|
{
|
|
if (pendingChangesTab == null)
|
|
return;
|
|
|
|
pendingChangesTab.AutoRefresh();
|
|
}
|
|
|
|
internal static void IncomingChangesView(IIncomingChangesTab incomingChangesTab)
|
|
{
|
|
if (incomingChangesTab == null)
|
|
return;
|
|
|
|
if (!incomingChangesTab.IsVisible)
|
|
return;
|
|
|
|
incomingChangesTab.AutoRefresh();
|
|
}
|
|
}
|
|
}
|