You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MatineeTransaction.h"
|
|
#include "Matinee/InterpGroup.h"
|
|
#include "Matinee/InterpTrack.h"
|
|
#include "MatineeOptions.h"
|
|
#include "K2Node_MatineeController.h"
|
|
#include "Matinee/MatineeActor.h"
|
|
#include "Matinee/InterpData.h"
|
|
#include "Matinee/InterpGroupInst.h"
|
|
#include "Matinee/InterpTrackInst.h"
|
|
|
|
|
|
void FMatineeTransaction::SaveObject( UObject* Object )
|
|
{
|
|
check(Object);
|
|
|
|
if( Object->IsA( AMatineeActor::StaticClass() ) ||
|
|
Object->IsA( UInterpData::StaticClass() ) ||
|
|
Object->IsA( UInterpGroup::StaticClass() ) ||
|
|
Object->IsA( UInterpTrack::StaticClass() ) ||
|
|
Object->IsA( UInterpGroupInst::StaticClass() ) ||
|
|
Object->IsA( UInterpTrackInst::StaticClass() ) ||
|
|
Object->IsA( UMatineeOptions::StaticClass() ) ||
|
|
Object->IsA( UK2Node_MatineeController::StaticClass() ) )
|
|
{
|
|
// Save the object.
|
|
new( Records )FObjectRecord( this, Object, nullptr, NULL, 0, 0, 0, 0, NULL, NULL, NULL );
|
|
}
|
|
}
|
|
|
|
void FMatineeTransaction::SaveArray( UObject* Object, FScriptArray* Array, int32 Index, int32 Count, int32 Oper, int32 ElementSize, STRUCT_DC DefaultConstructor, STRUCT_AR Serializer, STRUCT_DTOR Destructor )
|
|
{
|
|
// Never want this.
|
|
}
|
|
|
|
void FMatineeTransaction::StoreUndo( UObject* Object, TUniquePtr<FChange> CustomChange )
|
|
{
|
|
// Not used
|
|
}
|