Still working on event handling for hotkey widgets
This commit is contained in:
@@ -33,10 +33,10 @@ void UlxTangible::SetActorBlueprint(const FString &XName) {
|
||||
}
|
||||
|
||||
// Get the blueprint.
|
||||
UClass *blueprint = UlxAssetLookup::GetTangibleClassByName(this, Name);
|
||||
UClass *blueprint = UlxAssetLookup::LoadTangibleBlueprintAsset(this, Name);
|
||||
if (blueprint == nullptr)
|
||||
{
|
||||
blueprint = UlxAssetLookup::GetTangibleClassByName(this, DEFAULT_BLUEPRINT);
|
||||
blueprint = UlxAssetLookup::LoadTangibleBlueprintAsset(this, DEFAULT_BLUEPRINT);
|
||||
check(blueprint != nullptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user