Commits

mattan_f committed 33005c2

Instancing: Fixed instanced entity bone data corrupt if skeleton is not moved

  • Participants
  • Parent commits e0be1ae

Comments (0)

Files changed (1)

File OgreMain/src/OgreInstancedEntity.cpp

 				mSkeletonInstance( 0 ),
 				mBoneMatrices(0),
 				mBoneWorldMatrices(0),
-				mFrameAnimationLastUpdated(std::numeric_limits<unsigned long>::max()),
+				mFrameAnimationLastUpdated(std::numeric_limits<unsigned long>::max() - 1),
 				mSharedTransformEntity( 0 ),
 				mTransformLookupNumber(instanceID),
 				mPosition(Vector3::ZERO),