diff --git a/File_Format_Library/FileFormats/BCH/BCH.cs b/File_Format_Library/FileFormats/BCH/BCH.cs index 7b24baae..574c0075 100644 --- a/File_Format_Library/FileFormats/BCH/BCH.cs +++ b/File_Format_Library/FileFormats/BCH/BCH.cs @@ -50,7 +50,6 @@ namespace FirstPlugin.CtrLibrary } } - bool DrawablesLoaded = false; public override void OnClick(TreeView treeView) { diff --git a/File_Format_Library/FileFormats/BCH/Wrappers/Model/H3DMeshWrapper.cs b/File_Format_Library/FileFormats/BCH/Wrappers/Model/H3DMeshWrapper.cs index d81ebdd8..4c0f9616 100644 --- a/File_Format_Library/FileFormats/BCH/Wrappers/Model/H3DMeshWrapper.cs +++ b/File_Format_Library/FileFormats/BCH/Wrappers/Model/H3DMeshWrapper.cs @@ -98,7 +98,7 @@ namespace FirstPlugin.CtrLibrary { int index = boneIndices[vertices[v].Indices.b0]; vertex.pos = Vector3.TransformPosition(vertex.pos, parentModel.Skeleton.Renderable.bones[index].Transform); - vertex.nrm = Vector3.TransformNormal(vertex.nrm, parentModel.Skeleton.Renderable.bones[index].Transform); + // vertex.nrm = Vector3.TransformNormal(vertex.nrm, parentModel.Skeleton.Renderable.bones[index].Transform); } /* vertex.boneWeights.Add(vertices[v].Weights.w0);