From 30afda29364b64c52a2a0013caa17e59e0d5ed8c Mon Sep 17 00:00:00 2001 From: Alecu100 <lui_alecu@yahoo.co.uk> Date: Wed, 18 Jan 2012 13:33:45 +0200 Subject: [PATCH] fixed a bug in the complex shape helper class used for exporting or importing. now it properly creates skin partitions. --- src/ComplexShape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ComplexShape.cpp b/src/ComplexShape.cpp index 72a2823f..9dee5fa8 100644 --- a/src/ComplexShape.cpp +++ b/src/ComplexShape.cpp @@ -791,7 +791,7 @@ Ref<NiAVObject> ComplexShape::Split( NiNode * parent, Matrix44 & transform, int shapes[shape_num]->NormalizeSkinWeights(); if ( max_bones_per_partition > 0 ) { - shapes[shape_num]->GenHardwareSkinInfo( max_bones_per_partition ); + shapes[shape_num]->GenHardwareSkinInfo( max_bones_per_partition, 4, stripify); } //NiSkinInstanceRef skinInst = shapes[shape_num]->GetSkinInstance(); -- GitLab