void UAnimSet::PostLoad() { Super::PostLoad(); #if WITH_EDITORONLY_DATA // Make sure that AnimSets (and sequences) within level packages are not marked as standalone. if(GetOutermost()->ContainsMap() && HasAnyFlags(RF_Standalone)) { ClearFlags(RF_Standalone); for(int32 i=0; i<Sequences.Num(); i++) { UAnimSequence* Seq = Sequences[i]; if(Seq) { Seq->ClearFlags(RF_Standalone); } } } #endif //#if WITH_EDITORONLY_DATA }