Exemplo n.º 1
0
        private void Open()
        {
            string adjb = Path.GetDirectoryName(AbsolutePath) + "/model.adjb";

            if (File.Exists(adjb))
            {
                ExtendedMesh = new Adjb();
                ExtendedMesh.Read(adjb);
            }

            Ssbh.TryParseSsbhFile(AbsolutePath, out mesh);
        }
Exemplo n.º 2
0
        public override void Open()
        {
            string adjb = Path.GetDirectoryName(AbsolutePath) + "/model.adjb";

            if (File.Exists(adjb))
            {
                ExtendedMesh = new Adjb();
                ExtendedMesh.Read(adjb);
            }

            if (Ssbh.TryParseSsbhFile(AbsolutePath, out SsbhFile ssbhFile))
            {
                if (ssbhFile is Mesh)
                {
                    mesh = (Mesh)ssbhFile;
                }
            }
        }