Created button for possible mobility warnings
This commit is contained in:
parent
a9d17aa665
commit
643043fb8f
|
@ -46,6 +46,14 @@ UHierarchicalInstancedStaticMeshComponent* AProceduralBuilding::GetHISMComp(
|
||||||
return HISMComp;
|
return HISMComp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AProceduralBuilding::FixMobility() {
|
||||||
|
|
||||||
|
for (UChildActorComponent *ChildComp : ChildActorComps) {
|
||||||
|
|
||||||
|
ChildComp->SetMobility(EComponentMobility::Type::Static);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void AProceduralBuilding::ConvertOldBP_ToNativeCodeObject(AActor* BP_Building)
|
void AProceduralBuilding::ConvertOldBP_ToNativeCodeObject(AActor* BP_Building)
|
||||||
{
|
{
|
||||||
AProceduralBuilding* ProceduralBuilding = nullptr;
|
AProceduralBuilding* ProceduralBuilding = nullptr;
|
||||||
|
|
|
@ -94,6 +94,9 @@ protected:
|
||||||
UFUNCTION(BlueprintCallable, CallInEditor, Category="Procedural Building")
|
UFUNCTION(BlueprintCallable, CallInEditor, Category="Procedural Building")
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
||||||
|
UFUNCTION(BlueprintCallable, CallInEditor, Category="Procedural Building")
|
||||||
|
void FixMobility();
|
||||||
|
|
||||||
// TODO: AdvancedDisplay
|
// TODO: AdvancedDisplay
|
||||||
// Map containing the pair with the name of the mesh and the component that uses it
|
// Map containing the pair with the name of the mesh and the component that uses it
|
||||||
UPROPERTY(BlueprintReadOnly, EditAnywhere, Category="Procedural Building|Debug")
|
UPROPERTY(BlueprintReadOnly, EditAnywhere, Category="Procedural Building|Debug")
|
||||||
|
|
Loading…
Reference in New Issue