mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 22:15:15 +02:00
Initiailize the jont indices to -1 in FBXGemoetry to avoid problems until the skeleton data is actually loaded
This commit is contained in:
parent
347c74ebae
commit
dc01611f26
1 changed files with 10 additions and 10 deletions
|
@ -226,16 +226,16 @@ public:
|
||||||
|
|
||||||
glm::mat4 offset;
|
glm::mat4 offset;
|
||||||
|
|
||||||
int leftEyeJointIndex;
|
int leftEyeJointIndex = -1;
|
||||||
int rightEyeJointIndex;
|
int rightEyeJointIndex = -1;
|
||||||
int neckJointIndex;
|
int neckJointIndex = -1;
|
||||||
int rootJointIndex;
|
int rootJointIndex = -1;
|
||||||
int leanJointIndex;
|
int leanJointIndex = -1;
|
||||||
int headJointIndex;
|
int headJointIndex = -1;
|
||||||
int leftHandJointIndex;
|
int leftHandJointIndex = -1;
|
||||||
int rightHandJointIndex;
|
int rightHandJointIndex = -1;
|
||||||
int leftToeJointIndex;
|
int leftToeJointIndex = -1;
|
||||||
int rightToeJointIndex;
|
int rightToeJointIndex = -1;
|
||||||
|
|
||||||
QVector<int> humanIKJointIndices;
|
QVector<int> humanIKJointIndices;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue