Files
UnrealEngine/Engine/Source/Editor/UnrealEd/Private/Fbx/FbxTextureImportData.cpp
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

28 lines
657 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Factories/FbxTextureImportData.h"
#include "UObject/Object.h"
#include UE_INLINE_GENERATED_CPP_BY_NAME(FbxTextureImportData)
class FProperty;
UFbxTextureImportData::UFbxTextureImportData(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
bool UFbxTextureImportData::CanEditChange(const FProperty* InProperty) const
{
bool bMutable = Super::CanEditChange(InProperty);
UObject* Outer = GetOuter();
if(Outer && bMutable)
{
// Let the parent object handle the editability of our properties
bMutable = Outer->CanEditChange(InProperty);
}
return bMutable;
}