mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-23 07:22:52 +08:00
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:
parent
8af20945cb
commit
2eee1394fb
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user