Hi James,
re:
> Maybe between the options and the help at the bottom.
So to do that you'll need to edit the file CommandBar.htm which is inside MoI's ui sub-folder.
The options and help buttons are on line 137 of that file and look like this:
code:
<moi:CommandButton icon="icons/OptionsIcon.png" onclick="if ( event.ctrlKey && event.shiftKey ) { LlamaMode(); } else { moi.ui.createDialog( 'Options.htm', 'resizeable,defaultWidth:43em,defaultHeight:32em' ); }"><moi:Text textid="Options"/></moi:CommandButton>
<moi:CommandSplitButton icon="icons/HelpIcon.png" menu="HelpMenu.htm" onclick="moi.launchHelp();"><moi:Text textid="Help"/></moi:CommandSplitButton>
To add a display of the mesh angle between them insert this new line in between them like so:
code:
<moi:CommandButton icon="icons/OptionsIcon.png" onclick="if ( event.ctrlKey && event.shiftKey ) { LlamaMode(); } else { moi.ui.createDialog( 'Options.htm', 'resizeable,defaultWidth:43em,defaultHeight:32em' ); }"><moi:Text textid="Options"/></moi:CommandButton>
<div style="display:inline-block; margin:0.5em">Mesh angle:<moi:Text binding="this.innerText < moi.view.meshAngle"/></div>
<moi:CommandSplitButton icon="icons/HelpIcon.png" menu="HelpMenu.htm" onclick="moi.launchHelp();"><moi:Text textid="Help"/></moi:CommandSplitButton>
- Michael
|