You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed a crash when trying to play a movie via FMoviePlayerWidgetRenderer such as the intro video when loading the ShooterGame sample game.
An ensure was added to SWidget in [at]7232617 to make sure that it's PaintParent (passed in via FPaintArgs) is not the same as the widget being painted. This means we should now pass in nullptr for the VirtualRenderWindow widget rather than a reference to itself, mirroring the change made to PreLoadSlateThreading.cpp in the same CL. #rb Matt.Kuhlenscmidt #ROBOMERGE-SOURCE: CL 7622938 in //UE4/Dev-Core/... #ROBOMERGE-BOT: CORE (Dev-Core -> Main) (v372-7473910) [CL 7622939 by paul chipchase in Main branch]
This commit is contained in:
@@ -856,7 +856,7 @@ void FMoviePlayerWidgetRenderer::DrawWindow(float DeltaTime)
|
||||
|
||||
int32 MaxLayerId = 0;
|
||||
{
|
||||
FPaintArgs PaintArgs(&VirtualRenderWindow.Get(), *HittestGrid, FVector2D::ZeroVector, FSlateApplication::Get().GetCurrentTime(), FSlateApplication::Get().GetDeltaTime());
|
||||
FPaintArgs PaintArgs(nullptr, *HittestGrid, FVector2D::ZeroVector, FSlateApplication::Get().GetCurrentTime(), FSlateApplication::Get().GetDeltaTime());
|
||||
|
||||
// Paint the window
|
||||
MaxLayerId = VirtualRenderWindow->Paint(
|
||||
|
||||
Reference in New Issue
Block a user