MoI discussion forum
MoI discussion forum

Full Version: New Beta version will not open my large files

Show messages: All  1-17  18-20

From: Michael Gibson
5 Oct 2018   [#18] In reply to [#17]
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
From: Marbleman
5 Oct 2018   [#19] In reply to [#18]
Thanks Michael, works a treat!

Message 9054.20 was deleted


Show messages: All  1-17  18-20