summaryrefslogtreecommitdiffstats
path: root/tools/trackeditor/code/scripts/te_cleanup.mel
diff options
context:
space:
mode:
Diffstat (limited to 'tools/trackeditor/code/scripts/te_cleanup.mel')
-rw-r--r--tools/trackeditor/code/scripts/te_cleanup.mel12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/trackeditor/code/scripts/te_cleanup.mel b/tools/trackeditor/code/scripts/te_cleanup.mel
new file mode 100644
index 0000000..21f39d3
--- /dev/null
+++ b/tools/trackeditor/code/scripts/te_cleanup.mel
@@ -0,0 +1,12 @@
+te_Delete_TreeLineContext();
+te_Delete_BVContext();
+te_Delete_PPContext();
+te_Delete_IntersectionContext();
+te_CloseIntersectionEditorWindow();
+
+if ( `menu -exists te_MainMenu` )
+{
+ deleteUI te_MainMenu;
+
+ flushUndo;
+}