Merge pull request #144 from DEADP1XL/master

Set model from selection on changing mode
This commit is contained in:
dexyfex 2022-01-05 00:18:40 +11:00 committed by GitHub
commit ac8ed59d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6346,6 +6346,10 @@ namespace CodeWalker
rendermaps = false; rendermaps = false;
renderworld = false; renderworld = false;
ViewTabControl.SelectedTab = ViewModelTabPage; ViewTabControl.SelectedTab = ViewModelTabPage;
if (SelectionNameTextBox.Text != "" && SelectionNameTextBox.Text != "Nothing selected")
{
modelname = SelectionNameTextBox.Text;
}
break; break;
} }