Page 1 of 1

Wind Speed Parameter

Posted: Sun Aug 24, 2014 3:16 pm
by chedda
Hi, I'm looking for the wind speed parameter, in the sea dialog it seems to be missing.

Re: Wind Speed Parameter

Posted: Sun Aug 24, 2014 4:49 pm
by JDHill
Yes, looks like it got missed, but only in the UI, so if you would like to use it right away, you can make a minor edit to mx.seadialog.js.min, found in the maxwell/html/js folder (in the SU Plugins folder). If you open mx.seadialog.js.min in a text editor, you'll find where there is this statement:
n.wind_direction=n.windPanel.addControl(new mx.ScalarBar(t.wind_direction))
All you need to do is copy this, paste a copy in front, separated by a comma, and change "wind_direction" to "wind_speed", such that you will then have this:
...,n.windPanel=n.addControl(new mx.Expando("Wind",!1,!1)),n.wind_speed=n.windPanel.addControl(new mx.ScalarBar(t.wind_speed)),n.wind_direction=n.windPanel.addControl(new mx.ScalarBar(t.wind_direction)),n.weight_against...
It's not difficult, and you can always re-run the installer in the event that something goes wrong, but still, you may prefer to make a quick copy of the .js file, first. After making the edit, you should have a Speed slider in the Wind panel of the Sea UI, and it should work fine.

Re: Wind Speed Parameter

Posted: Sun Aug 24, 2014 8:01 pm
by chedda
Thanks Mr Hill what a great response even on a Sunday ! I'm a bit daunted by this, but i'll give it a try.

Re: Wind Speed Parameter

Posted: Sat Sep 06, 2014 1:51 am
by JDHill
This is fixed in the 3.0.15 build.