mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-08 16:53:52 +01:00
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:
parent
ec4e690f02
commit
989e82d5dd
@ -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)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user