mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 17:34:54 +02:00
Merge pull request #16458 from hyperlogic/bug-fix/anim-blend-directional-assert
Fix for assert in AnimBlendDirectional on startup
This commit is contained in:
commit
176b463f16
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ const AnimPoseVec& AnimBlendDirectional::evaluate(const AnimVariantMap& animVars
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_poses.resize(minSize);
|
_poses.resize(minSize);
|
||||||
blend4(minSize, &poseVecs[0][0], &poseVecs[1][0], &poseVecs[2][0], &poseVecs[3][0], &alphas[0], &_poses[0]);
|
if (minSize > 0) {
|
||||||
|
blend4(minSize, &poseVecs[0][0], &poseVecs[1][0], &poseVecs[2][0], &poseVecs[3][0], &alphas[0], &_poses[0]);
|
||||||
|
}
|
||||||
|
|
||||||
// animation stack debug stats
|
// animation stack debug stats
|
||||||
for (int i = 0; i < 9; i++) {
|
for (int i = 0; i < 9; i++) {
|
||||||
|
|
Loading…
Reference in a new issue