Made the following properties archivable:
- /sim/panel/visibility - /sim/panel/x-offset - /sim/panel/y-offset
This commit is contained in:
parent
c0309ef524
commit
4bd5a0ab29
1 changed files with 3 additions and 0 deletions
|
@ -215,8 +215,11 @@ void
|
||||||
FGPanel::bind ()
|
FGPanel::bind ()
|
||||||
{
|
{
|
||||||
fgTie("/sim/panel/visibility", &_visibility);
|
fgTie("/sim/panel/visibility", &_visibility);
|
||||||
|
fgSetArchivable("/sim/panel/visibility");
|
||||||
fgTie("/sim/panel/x-offset", &_x_offset);
|
fgTie("/sim/panel/x-offset", &_x_offset);
|
||||||
|
fgSetArchivable("/sim/panel/x-offset");
|
||||||
fgTie("/sim/panel/y-offset", &_y_offset);
|
fgTie("/sim/panel/y-offset", &_y_offset);
|
||||||
|
fgSetArchivable("/sim/panel/y-offset");
|
||||||
_bound = true;
|
_bound = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue