You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
DemoRecording:
* Fix CanSkipUpdate when demorecording is enabled alongside an Iris netdriver * PushModel is not enabled to generic NetDrivers when Iris is enabled in another net driver. #rb Ryan.Gerleve [CL 28508409 by louisphilippe seguin in ue5-main branch]
This commit is contained in:
@@ -1754,6 +1754,9 @@ bool FObjectReplicator::CanSkipUpdate(FReplicationFlags RepFlags)
|
||||
|
||||
bool bCanSkip = true;
|
||||
|
||||
// Is the pushmodel handle properly assigned.
|
||||
bCanSkip = bCanSkip && RepChangelistState.HasValidPushModelHandle();
|
||||
|
||||
// Have the RepFlags changed ?
|
||||
bCanSkip = bCanSkip && SendingRepState.RepFlags.Value == RepFlags.Value;
|
||||
|
||||
|
||||
@@ -1182,6 +1182,11 @@ bool FRepChangelistState::HasAnyDirtyProperties() const
|
||||
{
|
||||
return UEPushModelPrivate::DoesHaveDirtyPropertiesOrRecentlyCollectedGarbage(PushModelObjectHandle);
|
||||
}
|
||||
|
||||
bool FRepChangelistState::HasValidPushModelHandle() const
|
||||
{
|
||||
return PushModelObjectHandle.IsValid();
|
||||
}
|
||||
#endif
|
||||
|
||||
void FRepChangelistState::CountBytes(FArchive& Ar) const
|
||||
|
||||
@@ -422,6 +422,8 @@ public:
|
||||
|
||||
bool HasAnyDirtyProperties() const;
|
||||
|
||||
bool HasValidPushModelHandle() const;
|
||||
|
||||
private:
|
||||
const UEPushModelPrivate::FPushModelPerNetDriverHandle PushModelObjectHandle;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user