Пример #1
0
        private void importBU_Click(object sender, EventArgs e)
        {
            OpenFileDialog fd = new OpenFileDialog();

            fd.InitialDirectory = @"D:\C#\REngine\Models";
            fd.ShowDialog();

            if (File.Exists(fd.FileName))
            {
                mesh_Selected = RE.Mesh_Import(fd.FileName);
                scene_Selected.Meshes.Add(mesh_Selected);
                propPRLI.FromMesh(mesh_Selected);
                //MessageBox.Show(mesh_Selected.Name + " has been imported.");
            }
        }