Set model from selection on changing mode

When changing from World View to Model View, populate the Model selectbox with the selected item's name
This commit is contained in:
Rob 2021-12-31 13:54:19 -05:00
parent 8af20945cb
commit 2eee1394fb

View File

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