Page 1 of 1

scene manager location bug

Posted: Wed Jan 16, 2008 12:04 pm
by firebird
Hi JD, another one for you ;)

Everytime I reopen my rhino file and turn onto the scene manager, the GMT offset is set to -5, although the values for longitude/latitude are kept.

The GMT value, with set longitude and latitude of 121 and 31, should be 8.

Image


If I change the longitude value to any number and set it back to 121 the GMT offset changes to 8 again.

Is this a bug or just a user disbehavior ;)
I know you mentioned some time ago that you can save your preferences, I haven“t tried this yet, if the GMT bug occurs aswell.

THX so far

cheers firebird

Posted: Wed Jan 16, 2008 12:31 pm
by JDHill
Yes, I seem to have introduced a bug here in 1.6.1. I think the easiest workaround for now (as you found) is just to click in the latitude or longitude and roll the mousewheel back and forth a notch - this forces re-calculation of gmt and corrects the globe positioning.

Partly, this is related to me stretching the plugin to still accomodate version 1.0 files - things have changed internally, and it would be best I think to pull newer code in from the SW plugin - this version is simplified internally and does things like automatically recognizing the city name (from cities.txt) when lat/lon match an existing entry - so when you set it to say, 'Berlin', then close and re-open, the plugin still has Berlin selected in the pull-down.

Posted: Wed Jan 16, 2008 1:20 pm
by firebird
hi JD,

where can I set the city.txt file in the rhino plugin, I know how to in Studio?

thx

Posted: Wed Jan 16, 2008 1:29 pm
by JDHill
The plugin uses the same cities.txt as Studio does - it should be located in the Maxwell folder. So, it needs MAXWELL_ROOT to be correct in order to find the file.

Posted: Wed Jan 16, 2008 1:40 pm
by firebird
I was just searching for the button to set the city in the plugin!

Found the flyout menu at the very bottom. Could need a small indicator, labelling city or whatever ;)

thx

Posted: Wed Jan 16, 2008 3:44 pm
by firebird
Hi jeremy,

I was choosing my wanted city shanghai from the flyout menu at the bottom of "location". Longitude, Latitude and GMT Offset were set fine.

I saved the file, closed rhino, opened the scene again and the GMT Offset was set to -5 again and not city was applied???

:?

Posted: Wed Jan 16, 2008 5:02 pm
by JDHill
a) the city name has never been remembered in the file, just the lat/lon numbers
b) did you try, as I said earlier, to adjust lat or lon a little bit, then back?

Posted: Wed Jan 16, 2008 9:46 pm
by firebird
yep, I know ho to set the GMT offset back. it is just the thing that you sometimes forget it when reopening the rhinofile. ;)