From e20479ab7ad9920bc2e72a95f5846a592c434e10 Mon Sep 17 00:00:00 2001 From: AlvaroHG Date: Tue, 20 Aug 2024 18:50:12 -0700 Subject: [PATCH] Fpin ffrom main --- unity/Assets/Scripts/FpinAgentController.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unity/Assets/Scripts/FpinAgentController.cs b/unity/Assets/Scripts/FpinAgentController.cs index fef0ebaef1..c97ac47e5c 100644 --- a/unity/Assets/Scripts/FpinAgentController.cs +++ b/unity/Assets/Scripts/FpinAgentController.cs @@ -885,6 +885,7 @@ public ActionFinished InitializeBody( // we had a body asset used, so actionFinished returns info related to that if (bodyAsset != null) { return new ActionFinished(spawnAssetActionFinished) { + success = true, // TODO: change to a proper class once metadata return is defined actionReturn = new Dictionary() { @@ -899,8 +900,8 @@ spawnAssetActionFinished.actionReturn as ObjectSphereBounds } }; } else { - return new ActionFinished() - { + return new ActionFinished( + success: true, // TODO: change to a proper class once metadata return is defined actionReturn: new Dictionary() {