> It won't work. Problem: to use the pads inside the 
> Objects/e010n40/e011n47-folder I defined a line in the nasal-script like 
> that: setprop ("models/LOWI/model/path", 
> "Scenery/Objects/e010n40/e011n47/LOJO_helipad_libelle.xml");
>
> This path seems to be absolute.
> If you want to make this working in TerraSync you have to change the line to 
> ..","terrasync/Objects/...");

Both of those paths will use FG_ROOT as a starting point so won't
reference the 'actual' directory the model is loading from...which
could be anywhere on a users filesystem. I'm not sure what your nasal
is trying to do or why it need a scenery path, but you will need some
way to retrieve the 'actual' path from where the model was loaded. I'm
not sure if this functionality already exists, it may, but not an area
I've ever researched yet personally.

cheers

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to