Initialize SJoint.Animatedscale to 1,1,1

No scale should be 1,1,1 not 0,0,0
Wasn't a bug as animation system ensured the initial value is never used, but more correct and no extra cost (vectors initialize to 0 otherwise).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6598 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2024-02-24 19:11:42 +00:00
parent ec4e690f02
commit 989e82d5dd
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ namespace scene
//! Joints
struct SJoint
{
SJoint() : UseAnimationFrom(0), GlobalSkinningSpace(false),
SJoint() : Animatedscale(1,1,1),
UseAnimationFrom(0), GlobalSkinningSpace(false),
positionHint(-1),scaleHint(-1),rotationHint(-1)
{
}