From d8cc1648ca8aa11fbf55d67e1cbb2d9d2bc46fa2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 6 Jan 2010 10:41:14 +0000 Subject: [PATCH] Fixed type of index to int. --- include/osgAnimation/RigTransformHardware | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osgAnimation/RigTransformHardware b/include/osgAnimation/RigTransformHardware index 45c526dc2..5ff192252 100644 --- a/include/osgAnimation/RigTransformHardware +++ b/include/osgAnimation/RigTransformHardware @@ -42,7 +42,7 @@ namespace osgAnimation int _boneIndex; float _boneWeight; IndexWeightEntry() { _boneIndex = 0; _boneWeight = 0;} - IndexWeightEntry(float index, float weight) { _boneIndex = index; _boneWeight = weight;} + IndexWeightEntry(int index, float weight) { _boneIndex = index; _boneWeight = weight;} int getIndex() const { return _boneIndex; } float getWeight() const { return _boneWeight; } };