On Wednesday 16 July 2008, Bebesi Janos wrote: > Hello, > > Could somebody tell me, how can i creat 2D panel which will be > visible in different views? It shold be visible from outside > view, like from inside view. > > Thanks for your help > > Janos
I have not updated my local cvs copy for a while now, so this may not apply, but you need to amend panel.cxx. Find the fgPanelVisible() function in the Global functions section of panel.cxx and comment out the third test i.e. //////////////////////////////////////////////////////////////////////// // Global functions. //////////////////////////////////////////////////////////////////////// bool fgPanelVisible () { const FGPanel* current = globals->get_current_panel(); if (current == 0) return false; if (current->getVisibility() == 0) return false; // if (globals->get_viewmgr()->get_current() != 0) // return false; if (current->getAutohide() && globals->get_current_view()->getHeadingOffset_deg() * SGD_DEGREES_TO_RADIANS != 0) return false; return true; } Note that the fourth test in the above code has been line-wrapped and will appear as a single line in the source code. LeeE ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel