Esempio n. 1
0
 void dirtyModelLayers()
 {
     for(unsigned i=0; i<s_activeMap->getNumModelLayers(); ++i)
     {
         ModelSource* ms = s_activeMap->getModelLayerAt(i)->getModelSource();
         if ( ms )
         {
             ms->dirty();
         }
         else
         {
             OE_NOTICE << s_activeMap->getModelLayerAt(i)->getName()
                 << " has no model source.\n";
         }
     }
 }
Esempio n. 2
0
    void dirtyModelLayers()
    {
        ModelLayerVector modelLayers;
        s_activeMap->getLayers(modelLayers);

        for(unsigned i=0; i<modelLayers.size(); ++i)
        {
            ModelSource* ms = modelLayers.at(i)->getModelSource();
            if ( ms )
            {
                ms->dirty();
            }
            else
            {
                OE_NOTICE << modelLayers.at(i)->getName()
                    << " has no model source.\n";
            }
        }
    }