forked from speed-dreams/speed-dreams-code
- Update mpa11-murasama
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5967 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 307c895a7d5afc1972d29e4e54fe3716261b9ccd Former-commit-id: e57ff97acbdb870c55f8ff151f5eb3c1c7e13141
This commit is contained in:
parent
123dbe6c22
commit
01a3dddd15
1 changed files with 4 additions and 4 deletions
|
@ -287,7 +287,7 @@ osg::ref_ptr<osg::Node> SDCar::loadCar(tCarElt *car, bool tracktype, bool subcat
|
|||
|
||||
GfLogInfo("Rear Wing angle Loaded\n");
|
||||
|
||||
/* snprintf(path, 256, "%s/%s", SECT_GROBJECTS, SECT_COCKPIT);
|
||||
snprintf(path, 256, "%s/%s", SECT_GROBJECTS, SECT_COCKPIT);
|
||||
param = GfParmGetStr(handle, path, PRM_MODELCOCKPIT, NULL);
|
||||
|
||||
strPath = GetDataDir();
|
||||
|
@ -348,11 +348,11 @@ osg::ref_ptr<osg::Node> SDCar::loadCar(tCarElt *car, bool tracktype, bool subcat
|
|||
std::string pBody_path = GetLocalDir();
|
||||
pBody_path = pBody_path+"body-"+name+".osg";
|
||||
osgDB::writeNodeFile( *pBody, pBody_path );
|
||||
#endif*/
|
||||
#endif
|
||||
|
||||
|
||||
/* add Steering Wheel 0 (if one exists) */
|
||||
snprintf(path, 256, "%s/%s", SECT_GROBJECTS, SECT_STEERWHEEL);
|
||||
/*snprintf(path, 256, "%s/%s", SECT_GROBJECTS, SECT_STEERWHEEL);
|
||||
param = GfParmGetStr(handle, path, PRM_SW_MODEL, NULL);
|
||||
if (param)
|
||||
{
|
||||
|
@ -398,7 +398,7 @@ osg::ref_ptr<osg::Node> SDCar::loadCar(tCarElt *car, bool tracktype, bool subcat
|
|||
}
|
||||
|
||||
pSteer->setSingleChildOn(0);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
// separate driver models for animation according to steering wheel angle ...
|
||||
|
|
Loading…
Reference in a new issue