1 2 3 4 5 6 7 8 9 10 11
if ( `menu -exists wb_MainMenu` ) { deleteUI wb_MainMenu; deleteShelfTab ("WorldBuilder"); wb_SplinesCleanup(); wb_CoinSplinesCleanup(); flushUndo; }