Skip to content

Commit

Permalink
Updated for 4.20
Browse files Browse the repository at this point in the history
  • Loading branch information
nlebedenco committed Jul 19, 2018
1 parent 079e3ff commit 8d81df5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LoadingScreen.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"CreatedByURL": "https://www.epicgames.com",
"DocsURL": "https://github.com/ue4plugins/LoadingScreen",
"SupportURL": "https://github.com/ue4plugins/LoadingScreen/issues",
"EngineVersion": "4.19.0",
"EngineVersion": "4.20.0",
"EnabledByDefault": false,
"CanContainContent": true,

Expand Down
3 changes: 1 addition & 2 deletions Source/LoadingScreen/LoadingScreen.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ public LoadingScreen(ReadOnlyTargetRules Target)
"SlateCore",
"InputCore",
"Engine"
}
);
});
}
}
}
5 changes: 3 additions & 2 deletions Source/LoadingScreen/Private/SSimpleLoadingScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ struct FLoadingScreenBrush : public FSlateDynamicImageBrush, public FGCObject

virtual void AddReferencedObjects(FReferenceCollector& Collector) override
{
if ( ResourceObject )
UObject* Object = GetResourceObject();
if (Object)
{
Collector.AddReferencedObject(ResourceObject);
Collector.AddReferencedObject(Object);
}
}
};
Expand Down

0 comments on commit 8d81df5

Please sign in to comment.