mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
If there are no animation frames in the model, treat its default position as
a single frame.
This commit is contained in:
parent
8bb4ca19cd
commit
906e082215
1 changed files with 1 additions and 1 deletions
|
@ -1442,7 +1442,7 @@ FBXGeometry extractFBXGeometry(const FBXNode& node, const QVariantHash& mapping)
|
|||
}
|
||||
|
||||
// figure the number of animation frames from the curves
|
||||
int frameCount = 0;
|
||||
int frameCount = 1;
|
||||
foreach (const AnimationCurve& curve, animationCurves) {
|
||||
frameCount = qMax(frameCount, curve.values.size());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue