summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/scripts/wb_cleanup.mel
diff options
context:
space:
mode:
Diffstat (limited to 'tools/worldbuilder/code/scripts/wb_cleanup.mel')
-rw-r--r--tools/worldbuilder/code/scripts/wb_cleanup.mel11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/worldbuilder/code/scripts/wb_cleanup.mel b/tools/worldbuilder/code/scripts/wb_cleanup.mel
new file mode 100644
index 0000000..1b2f42c
--- /dev/null
+++ b/tools/worldbuilder/code/scripts/wb_cleanup.mel
@@ -0,0 +1,11 @@
+
+if ( `menu -exists wb_MainMenu` )
+{
+ deleteUI wb_MainMenu;
+ deleteShelfTab ("WorldBuilder");
+
+ wb_SplinesCleanup();
+ wb_CoinSplinesCleanup();
+
+ flushUndo;
+}