Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
Panakotta00 committed Aug 8, 2023
2 parents 887abc6 + e2a757d commit 382a95d
Show file tree
Hide file tree
Showing 74 changed files with 418 additions and 384 deletions.
Binary file modified Content/InitGameInstance.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Control.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_FOV.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Frame.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Grab.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Movement.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_NextKeyframe.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_PrevKeyframe.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Redo.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Rotation.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Shift.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Speed.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_SpeedUp.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_ToggleCursor.uasset
Binary file not shown.
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_ToggleShowPath.uasset
Binary file not shown.
Binary file added Content/Input/IA_FIC_Editor_Undo.uasset
Binary file not shown.
Binary file not shown.
Binary file added Content/Input/IC_FIC_Editor.uasset
Binary file not shown.
Binary file added Content/Input/IC_FIC_Playback.uasset
Binary file not shown.
4 changes: 2 additions & 2 deletions FicsItCam.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"FileVersion": 3,
"Version": 0,
"VersionName": "0.3",
"SemVersion": "0.3.5",
"SemVersion": "0.3.6",
"AcceptsAnyRemoteVersion": true,
"FriendlyName": "FicsIt-Cam",
"Description": "This mod allows you to create beautiful camera animations in-game.",
Expand All @@ -26,7 +26,7 @@
"Plugins": [
{
"Name": "SML",
"SemVersion": "^3.3.2",
"SemVersion": "^3.5.0",
"Enabled": true
}
]
Expand Down
11 changes: 3 additions & 8 deletions Source/FicsItCam/FicsItCam.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,20 @@ public FicsItCam(ReadOnlyTargetRules Target) : base(Target)
"Core", "CoreUObject",
"Engine",
"InputCore",
"OnlineSubsystem", "OnlineSubsystemUtils", "OnlineSubsystemNULL",
"SignificanceManager",
"PhysX", "APEX", "PhysXVehicles", "ApexDestruction",
"AkAudio",
"ReplicationGraph",
"UMG",
"AIModule",
"NavigationSystem",
"AssetRegistry",
"GameplayTasks",
"AnimGraphRuntime",
"Slate", "SlateCore",
"InteractiveToolsFramework",
"CinematicCamera",
"RHI",
"Renderer",
"RenderCore",
"ImageWrapper",
"Niagara"
"Niagara",
"EnhancedInput",
"GameplayTags"
});

if (Target.Type == TargetRules.TargetType.Editor) {
Expand Down
4 changes: 3 additions & 1 deletion Source/FicsItCam/Private/Data/Attributes/FICAttribute.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include "FicsItCam/Public/Data/Attributes/FICAttribute.h"
#include "Data/Attributes/FICAttribute.h"

TSharedRef<FFICEditorAttributeBase> FFICAttribute::CreateEditorAttribute() { checkf(false, TEXT("Not Implemented!")); return MakeShareable<FFICEditorAttributeBase>(nullptr); }

void FFICAttribute::RecalculateAllKeyframes() {
TArray<int64> Keys;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "FicsItCam/Public/Data/Attributes/FICAttributeFloat.h"

#include "Editor/Data/FICEditorAttributeBase.h"
#include "FicsItCam/Public/FICUtils.h"

TMap<FICFrame, TSharedRef<FFICKeyframe>> FFICFloatAttribute::GetKeyframes() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "FicsItCam/Public/Data/Attributes/FICAttributeGroup.h"
#include "Data/Attributes/FICAttributeGroup.h"

#include "Editor/Data/FICEditorAttributeGroup.h"

Expand Down
1 change: 1 addition & 0 deletions Source/FicsItCam/Private/Data/Objects/FICWorldSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "FGTimeSubsystem.h"
#include "FICUtils.h"
#include "Editor/FICEditorContext.h"
#include "Editor/Data/FICEditorAttributeBase.h"

UFICWorldSettings::UFICWorldSettings() {
RootAttribute.AddChildAttribute(TEXT("Active"), &Active);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "FicsItCam/Public/Editor/Data/FICEditorAttributeBase.h"
#include "Editor/Data/FICEditorAttributeBase.h"

#include "Data/Attributes/FICAttribute.h"
#include "Editor/UI/FICSequencer.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void FFICEditorAttributeBool::UpdateValue(FICFrame Time) {
SetActiveValue(Attribute->GetValue(Time));
}

float FFICEditorAttributeBool::GetValue(FICFrame InFrame) const {
FICValue FFICEditorAttributeBool::GetValue(FICFrame InFrame) const {
return Attribute->GetValue(InFrame) ? 1.0 : 0.0;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "Editor/Data/FICEditorAttributeGroup.h"

#include "Data/Attributes/FICAttributeGroup.h"
#include "Widgets/Layout/SExpandableArea.h"

FFICEditorAttributeGroupBase::FFICEditorAttributeGroupBase(FFICAttributeValueChanged OnValueChanged, FLinearColor GraphColor): FFICEditorAttributeBase(GraphColor) {
OnCreateAttributeDetailsWidget.BindLambda([this](UFICEditorContext* Context) {
Expand Down Expand Up @@ -47,7 +46,7 @@ void FFICEditorAttributeGroupBase::UpdateValue(FICFrame Time) {
}
}

float FFICEditorAttributeGroupBase::GetValue(FICFrame InFrame) const {
FICValue FFICEditorAttributeGroupBase::GetValue(FICFrame InFrame) const {
float Sum = 0.0f;
for (const TTuple<FString, TSharedRef<FFICEditorAttributeBase>>& Attribute : Attributes) {
Sum += Attribute.Value->GetValue(InFrame);
Expand Down
7 changes: 3 additions & 4 deletions Source/FicsItCam/Private/Editor/Data/FICEditorCameraActor.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#include "Editor/Data/FICEditorCameraActor.h"

#include "FicsItCamModule.h"
#include "BaseGizmos/TransformGizmo.h"
#include "Components/LineBatchComponent.h"
#include "Components/SceneCaptureComponent2D.h"
#include "Editor/Data/FICEditorAttributeBool.h"
#include "Engine/TextureRenderTarget2D.h"
#include "BaseGizmos/CombinedTransformGizmo.h"

UFICEditorCameraPathComponent::UFICEditorCameraPathComponent() {
bAutoActivate = true;
Expand Down Expand Up @@ -141,8 +140,8 @@ void AFICEditorCameraActor::Tick(float DeltaSeconds) {
}

CaptureComponent->HiddenActors.Empty();
for (TActorIterator<ATransformGizmoActor> Gizmo(GetWorld()); Gizmo; ++Gizmo) {
CaptureComponent->HiddenActors.Add(*Gizmo);
for (TActorIterator<ACombinedTransformGizmoActor> Gizmo(GetWorld()); Gizmo; ++Gizmo) {
CaptureComponent->HiddenActors.Add(TObjectPtr<AActor>((AActor*)*Gizmo));
}
// TODO: This is a shitty fix for something that would require a big change (layer system to define when what editor stuff needs to get rendered)
}
Expand Down
Loading

0 comments on commit 382a95d

Please sign in to comment.