model_server/gala/src/viewer.cxx
//calls its view's find view
calls its view's find view
calls its view ' s find view
View* Viewer::find_view (int newId)
{
    gInit (Viewer::find_view);
    View* result = NULL;   
    if (layerViews) result = layerViews->find_view(newId);
    if (!result && commandLineView_) {
        if (newId == commandLineView_->GetId())
            result = commandLineView_;
    }
    return result;
}
View * Viewer :: find_view ( int newId ) { gInit ( Viewer :: find_view ) ; View * result = NULL ; if ( layerViews ) result = layerViews -> find_view ( newId ) ; if ( ! result && commandLineView_ ) { if ( newId == commandLineView_ -> GetId ( ) ) result = commandLineView_ ; } return result ; }
calls its view's find view
calls its view ' s find view
// Init to no view found. // First, check the view. // Next, check the Command Line.