You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix PSD cache not getting cleared and produced incorrect poses at the end
#jira: FORT-154248 #rb:Helge.Matthee #ROBOMERGE-SOURCE: CL 5383674 via CL 5383700 via CL 5384346 [CL 5384440 by lina halper in Main branch]
This commit is contained in:
@@ -309,6 +309,12 @@ void FAnimNode_PoseDriver::Evaluate_AnyThread(FPoseContext& Output)
|
||||
{
|
||||
FPoseContext CurrentPose(Output);
|
||||
|
||||
// clear the value before setting it.
|
||||
for (int32 PoseIndex = 0; PoseIndex < PoseExtractContext.PoseCurves.Num(); ++PoseIndex)
|
||||
{
|
||||
PoseExtractContext.PoseCurves[PoseIndex].Value = 0.f;
|
||||
}
|
||||
|
||||
// Then fill in weight for any driven poses
|
||||
for (const FRBFOutputWeight& Weight : OutputWeights)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user