// Merge character from file with current scene private void buttonCreate_Click(object sender, EventArgs e) { if (file == null) { file = FindFile(); } if (file != null && File.Exists(file) && i.MergeFromFile(file, true, false, true, 3, null, 1000, 0) != 0) { if (!GetNodes()) { MessageBox.Show("Merged scene doesn't contain '" + Character.Name + "' and '" + Character.BipedName + "' objects."); } } }