You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
854 B
C++
30 lines
854 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MovieSceneToolsPrivatePCH.h"
|
|
#include "MovieSceneFactory.h"
|
|
#include "MovieScene.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "MovieSceneFactory"
|
|
|
|
UMovieSceneFactory::UMovieSceneFactory( const class FPostConstructInitializeProperties& PCIP )
|
|
: Super(PCIP)
|
|
{
|
|
|
|
// @todo sequencer: Only allow users to create new MovieScenes if that feature is turned on globally.
|
|
if( FParse::Param( FCommandLine::Get(), TEXT( "Sequencer" ) ) )
|
|
{
|
|
bCreateNew = true;
|
|
}
|
|
|
|
bEditAfterNew = true;
|
|
|
|
SupportedClass = UMovieScene::StaticClass();
|
|
}
|
|
|
|
|
|
UObject* UMovieSceneFactory::FactoryCreateNew(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn)
|
|
{
|
|
return StaticConstructObject( UMovieScene::StaticClass(), InParent, Name, Flags );
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE |