]> git.mxchange.org Git - flightgear.git/commit
If the model path specified ends with .xml, then read properties from
authordavid <david>
Mon, 25 Feb 2002 20:07:34 +0000 (20:07 +0000)
committerdavid <david>
Mon, 25 Feb 2002 20:07:34 +0000 (20:07 +0000)
commit3d4bec275b3c10ff7c07483b536a1903701a45c0
tree6352fb86a01947999ed6d53536a5ddc4c7bb3068
parent1cc851d2b749dc051f35e5e90df2133628e165ee
If the model path specified ends with .xml, then read properties from
the XML file, including the path to the 3D file.

This change obsoletes the existing /sim/model/*-offset-deg and
/sim/model/*-offset-m properties in the main property tree, and
replaces them with /offsets/*-deg and /offsets/*-m in the model
property file.  The /path property in the model XML file is relative
to the XML file's location rather than FG_ROOT.
src/Main/model.cxx
src/Main/model.hxx