- Disabled the editor device sharing between machines/copies of the editor, but only broadcasting the Ping message to the current Process (instead of Network). Doesn't remove any code complexity, but is a safe solution

#jira 97514

[CL 14181868 by Josh Adams in ue5-main branch]
This commit is contained in:
Josh Adams
2020-08-25 14:43:09 -04:00
parent a469ed2f9d
commit d8ee16dd3c

View File

@@ -150,7 +150,8 @@ void FTargetDeviceProxyManager::SendPing()
// message is going to be deleted by FMemory::Free() (see FMessageContext destructor), so allocate it with Malloc
void* Memory = FMemory::Malloc(sizeof(FTargetDeviceServicePing), alignof(FTargetDeviceServicePing));
MessageEndpoint->Publish(new (Memory) FTargetDeviceServicePing(FPlatformProcess::UserName(false)), EMessageScope::Network);
// send to only this process, as we no longer want to send out pings to the local network and get another machine's list of devices
MessageEndpoint->Publish(new (Memory) FTargetDeviceServicePing(FPlatformProcess::UserName(false)), EMessageScope::Process);
}
}