Skip to content

Commit

Permalink
Merge pull request #121 from PlasticSCM/1005429-ue5.5
Browse files Browse the repository at this point in the history
Fix FPlasticSourceControlProvider::UsesFileRevisions() for UE5.5
  • Loading branch information
SRombautsU authored May 29, 2024
2 parents 16b151e + 5842aa4 commit 3aa3276
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,13 @@ bool FPlasticSourceControlProvider::UsesCheckout() const

bool FPlasticSourceControlProvider::UsesFileRevisions() const
{
// This API introduced in UE5.1 is still broken as of UE5.3
// This API introduced in UE5.1 was broken until they finally merged our PR in UE5.5
// (preventing the user to use the source control context menu for checkin if returning false)
// return IsPartialWorkspace();
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 5
return IsPartialWorkspace();
#else
return true;
#endif
}

bool FPlasticSourceControlProvider::UsesSnapshots() const
Expand Down

0 comments on commit 3aa3276

Please sign in to comment.