// Rebranche les appels GI::FindCenterOfPolygon vers ULPDataCompat::FindCenterOfPolygon. // La fonction Blueprint d'origine reste dans GI. Tout ecart de broche : Blueprint non sauvegarde. // // Usage : // UnrealEditor-Cmd.exe -run=LPFixFindCenter [-DryRun] #pragma once #include "CoreMinimal.h" #include "Commandlets/Commandlet.h" #include "LPFixFindCenterCommandlet.generated.h" UCLASS() class ULPFixFindCenterCommandlet : public UCommandlet { GENERATED_BODY() public: ULPFixFindCenterCommandlet(); virtual int32 Main(const FString& Params) override; };