On 1 Jan 2013, at 15:12, Nigel Mackay <nmac...@iburst.co.za> wrote:

> Because aircraft-set.xml is protected, I save the views in 
> aircraft-data. This helps make them aircraft-specific. They are loaded 
> into /sim just fine, except they are not registered. Aircraft-data is 
> loaded after the listener in vies.nas has "registered" the existing views.
> 
> To make it work, some changes to the core-code need to be made. I have 
> no idea of the impact of these two options:
> 1. Load aircraft-data before the nasal folder.
> 2. Delay the listener in view.nas until after aircraft-data has been loaded.
> 
> If one of these will work (or any other suggestion) then I need a 
> volunteer to do the change, as well as to add create-view to the View menu.
> 
> Just say if you would like to see my code.

Already said on the forum, but this is the correct place so I shall restate it:

- the correct fix here is some new commands to add / remove views. Changing the 
aircraft data or view.nas code is likely to break other stuff in subtle ways. 
Adding new commands would allow us to fix a few other places that want to 
cleanly modify the set of defined views at runtime, and the code already exists.

I'm happy to do the core work, but I think it should wait till after 2.10.

Regards
James
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to