diff --git a/.gitignore b/.gitignore index 1882f43..3a6dc7b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ *.pdb Binaries/* -Intermediate/* \ No newline at end of file +Intermediate/* + +# Rider IDE +.idea/ diff --git a/Source/ThreepeatAnimTools/Private/CurveEditorMakeHoldFilter.cpp b/Source/ThreepeatAnimTools/Private/CurveEditorMakeHoldFilter.cpp index 7699d1d..325e0de 100644 --- a/Source/ThreepeatAnimTools/Private/CurveEditorMakeHoldFilter.cpp +++ b/Source/ThreepeatAnimTools/Private/CurveEditorMakeHoldFilter.cpp @@ -119,7 +119,7 @@ void UCurveEditorMakeHoldFilter::ApplyFilter_Impl(TSharedRef InCur Curve->Modify(); Curve->SetKeyPositions(KeyHandlesToModify, NewKeyPositions); - Curve->RemoveKeys(KeyHandlesToDelete); + Curve->RemoveKeys(KeyHandlesToDelete, 0.0); int numFramesPastFirst = FMath::RoundToInt(((SelectedKeyPositions[lastKeyNum].InputValue - SelectedKeyPositions[0].InputValue) / 2.0)/frameInterval); UE_LOG(LogTemp, Warning, TEXT("num frames past first: %d"), numFramesPastFirst); Curve->AddKey(FKeyPosition(SelectedKeyPositions[0].InputValue + numFramesPastFirst * frameInterval, holdValue), InCurveEditor->GetDefaultKeyAttribute().Get()); diff --git a/ThreepeatAnimTools.uplugin b/ThreepeatAnimTools.uplugin index 47c7e3d..b16c326 100644 --- a/ThreepeatAnimTools.uplugin +++ b/ThreepeatAnimTools.uplugin @@ -11,7 +11,7 @@ "MarketplaceURL": "com.epicgames.launcher://ue/Fab/product/576ae5f6-df60-42cc-b0e7-5681beb6d585", "FabURL": "com.epicgames.launcher://ue/Fab/product/576ae5f6-df60-42cc-b0e7-5681beb6d585", "SupportURL": "", - "EngineVersion": "5.6.0", + "EngineVersion": "5.7.0", "CanContainContent": true, "Installed": true, "Modules": [