remove old code cGrCamera (not used) in OsgView
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5238 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 20af6985e973ae0f5d83651415c97f05b0cd6275 Former-commit-id: 5ab1b31dbe7c3822119d305c2aa261bcf205aedb
This commit is contained in:
parent
dd4723f744
commit
db01ea98a0
1 changed files with 6 additions and 6 deletions
|
@ -213,10 +213,10 @@ Camera* SDView::getCamera()
|
|||
|
||||
void SDView::loadParams(tSituation *s)
|
||||
{
|
||||
int camNum;
|
||||
int camNum;
|
||||
int camList;
|
||||
int i;
|
||||
//class SDCamera *cam;
|
||||
int i;
|
||||
|
||||
const char *carName;
|
||||
const char *pszSpanSplit;
|
||||
|
||||
|
@ -253,7 +253,7 @@ void SDView::loadParams(tSituation *s)
|
|||
// Load "current camera" settings (attached to the "current car").
|
||||
camList = (int)GfParmGetNum(grHandle, path, GR_ATT_CAM_HEAD, NULL, 9);
|
||||
camNum = (int)GfParmGetNum(grHandle, path, GR_ATT_CAM, NULL, 0);
|
||||
mirrorFlag = (int)GfParmGetNum(grHandle, path, GR_ATT_MIRROR, NULL, (tdble)mirrorFlag);
|
||||
mirrorFlag = (int)GfParmGetNum(grHandle, path, GR_ATT_MIRROR, NULL, (tdble)mirrorFlag);
|
||||
|
||||
// Only apply driver preferences when not spanning split screens
|
||||
pszSpanSplit = GfParmGetStr(grHandle, GR_SCT_GRAPHIC, GR_ATT_SPANSPLIT, GR_VAL_NO);
|
||||
|
@ -266,7 +266,7 @@ void SDView::loadParams(tSituation *s)
|
|||
}
|
||||
|
||||
// Get board width (needed for scissor)
|
||||
/* boardWidth = (int)GfParmGetNum(grHandle, path, GR_ATT_BOARDWIDTH, NULL, 100);
|
||||
/* boardWidth = (int)GfParmGetNum(grHandle, path, GR_ATT_BOARDWIDTH, NULL, 100);
|
||||
if (boardWidth < 0 || boardWidth > 100)
|
||||
boardWidth = 100;*/
|
||||
|
||||
|
@ -283,7 +283,7 @@ void SDView::loadParams(tSituation *s)
|
|||
sprintf(buf, "%s-%d-%d", GR_ATT_FOVY, camList, camNum);
|
||||
cameras->getSelectedCamera()->loadDefaults(buf);
|
||||
//drawCurrent = curCam->getDrawCurrent();
|
||||
// board->loadDefaults(curCar);
|
||||
// board->loadDefaults(curCar);
|
||||
}
|
||||
|
||||
void SDView::saveCamera()
|
||||
|
|
Loading…
Reference in a new issue