Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 7, 2008, 3:30:52 PM (16 years ago)
Author:
scheusso
Message:

more progress (still not ok)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/objects/SpaceShip.cc

    r1669 r1730  
    244244            this->chFarNode_->setScale(0.4, 0.4, 0.4);
    245245        }
     246        // END of testing crosshair
    246247
    247248        createCamera();
    248         // END of testing crosshair
    249249    }
    250250
     
    322322        this->setBacksync(true);
    323323        //CameraHandler::getInstance()->requestFocus(cam_);
    324         if(this->isExactlyA(Class(SpaceShip)))
     324        if(this->isExactlyA(Class(SpaceShip))){
    325325          getFocus();
    326       }
     326          COUT(3) << "getting focus for obj id: " << objectID << std::endl;
     327        }else
     328          COUT(3) << "not getting focus (not exactly spaceship) for obj id: " << objectID << std::endl;
     329      }else
     330        COUT(3) << "not getting focus (not my ship) for obj id: " << objectID << std::endl;
    327331
    328332    }
Note: See TracChangeset for help on using the changeset viewer.