2
0
Эх сурвалжийг харах

If around compute gathering poses

Signed-off-by: Piotr Jaroszek <[email protected]>
Piotr Jaroszek 2 жил өмнө
parent
commit
ab84c394e2

+ 4 - 1
Project/Gem/Source/ApplePicker/GatheringRowComponent.h

@@ -26,7 +26,10 @@ namespace AppleKraken
         //! First on the list is always the start pose, the last is the end pose
         GatheringPoses GetGatheringPoses() override
         {
-            ComputeGatheringPoses();
+            if (m_gatheringPoses.empty())
+            {
+                ComputeGatheringPoses();
+            }
             return m_gatheringPoses;
         }