Changeset 8292
- Timestamp:
- 05/08/08 18:48:49
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenSceneGraph/trunk/src/osgPlugins/Inventor/ConvertToInventor.cpp
r8038 r8292 68 68 #include <Inventor/nodes/SoTexture2.h> 69 69 #include <Inventor/nodes/SoTextureCoordinate2.h> 70 #include <Inventor/nodes/SoTextureCoordinate3.h>71 70 #include <Inventor/nodes/SoTextureCoordinateEnvironment.h> 72 71 #include <Inventor/nodes/SoTransform.h> … … 75 74 #include <Inventor/fields/SoFields.h> 76 75 #ifdef __COIN__ 76 #include <Inventor/nodes/SoTextureCoordinate3.h> 77 77 #include <Inventor/nodes/SoTransparencyType.h> 78 78 #include <Inventor/VRMLnodes/SoVRMLBillboard.h> … … 1229 1229 } 1230 1230 } else 1231 #ifdef __COIN__ 1231 1232 if (ivTexCoords->isOfType(SoTextureCoordinate3::getClassTypeId())) { 1232 1233 nonIndexedTexCoords = new SoTextureCoordinate3; … … 1240 1241 } 1241 1242 } else 1243 #endif // __COIN__ 1242 1244 nonIndexedTexCoords = ivTexCoords; 1243 1245 … … 1540 1542 texCoords = new SoTextureCoordinate2; 1541 1543 osgArray2ivMField(g->getTexCoordArray(0), ((SoTextureCoordinate2*)texCoords)->point); 1542 } else { 1544 } 1545 #ifdef __COIN__ 1546 else { 1543 1547 texCoords = new SoTextureCoordinate3; 1544 1548 osgArray2ivMField(g->getTexCoordArray(0), ((SoTextureCoordinate3*)texCoords)->point); 1545 1549 } 1550 #endif // __COIN__ 1546 1551 } 1547 1552 if (texCoords)
