w1n5t0n
22-08-2006 16:13:09
Hi,
Ofusion is great n all, but I have installed it on a computer at work to demonstrate it and when I uninstalled it from the machine, it left the "ofusion" button on the menu bar at the top of Max8
I guess I just have to remove a .dlu, but to save me (possibly hours of) fumbling around in directories (and to help others who search for the same in the wiki), could somebody tell me how to make this button go from the Max menu bar please?
Thanks.
Lioric
22-08-2006 16:50:47
In your max installation root, there is a "UI/bak" folder, copy (and overwrite) all the ".mnu" files to its parent folder ("UI")
copy all "drive:\max\UI\bak\*.mnu" files to "drive:\max\UI\"
w1n5t0n
23-08-2006 15:50:39
Thanks for the quick reply. I understand the logic behind what you say but the mahine that it is installed on has no "drive:\max\UI\bak" folder. (as a note, my machine has no "drive:\max\UI\bak" folder either), it does have a "drive:\max\UI" folder with .mnu files such as DefaultUI.mnu in it though, just no "UI/bak" folder.
http://www.myjavaserver.com/~matthewlf/ ... _doing.jpg
What else can I do?
PS It might be a good idea to tidy the unistall process for the next release, perhaps scan the .mnu files for the matching oFusion entries and delete them, otherwise oFusion might come across as a bit "Wild Tangent / Jamster" - ish
Lioric
23-08-2006 21:55:02
In "Customize/Customize User Interface..." menu item, a dialog will be displayed, select the "Menu" tab to modify the menus
sladi
19-06-2007 14:46:24
I removed the menu but when I install Ofusion again the menu is still removed. How can I get it back please?
edit:
Thanks to Ofusion support I cn get the menu back with this script.
fn addMenuCommands = (
local mainMenuBar = menuMan.getMainMenuBar()
local oE_subMenu = menuMan.createMenu "oF&usion"
local oE_menuItem = menuMan.createActionItem "Update_Viewport" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
oE_menuItem = menuMan.createActionItem "Update_Selected" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
local sItem = menuMan.createSeparatorItem()
oE_subMenu.addItem sItem -1
oE_menuItem = menuMan.createActionItem "Viewport_Settings" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
oE_menuItem = menuMan.createActionItem "Scene_Settings" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
oE_menuItem = menuMan.createActionItem "Object_Settings" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
oE_subMenu.addItem sItem -1
oE_menuItem = menuMan.createActionItem "Clear_Viewport" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
oE_subMenu.addItem sItem -1
oE_menuItem = menuMan.createActionItem "Update_Multi_Material" "Lioric Ogre Tools"
oE_subMenu.addItem oE_menuItem -1
local subMenuItem = menuMan.createSubMenuItem "oExporter_Menu" oE_subMenu
mainMenuBar.addItem subMenuItem (mainMenuBar.numItems() - 1)
menuMan.updateMenuBar()
local oFusionMenu = oE_subMenu
if oFusionMenu != undefined do (
local materialMenu = false
local exportMenu = false
for i = 1 to oFusionMenu.numItems() do (
if ((oFusionMenu.GetItem i).GetTitle()) == "Batch Update Materials" do (
materialMenu = true
)
if ((oFusionMenu.GetItem i).GetTitle()) == "Export Scene" do (
exportMenu = true
)
)
if materialMenu == false do (
local menuItem = menuMan.createActionItem "Update_Selected_Materials" "Lioric Ogre Tools"
if menuItem != undefined do (
menuItem.SetTitle "Batch Update Materials"
menuItem.SetUseCustomTitle true
oFusionMenu.addItem menuItem -1
menuMan.updateMenuBar()
)
)
if exportMenu == false do (
local menuItem = menuMan.createActionItem "Export_Scene" "Lioric Ogre Tools"
if menuItem != undefined do (
local sItem = menuMan.createSeparatorItem()
oFusionMenu.addItem sItem -1
menuItem.SetTitle "Export Scene"
menuItem.SetUseCustomTitle true
oFusionMenu.addItem menuItem -1
menuMan.updateMenuBar()
)
)
)
)
addMenuCommands()
Fumé
24-06-2007 19:43:24
just to say I had the same problem and could also fix it with the script. Has this been fixed in the latest version?