From Wang Rui, build fix

This commit is contained in:
Robert Osfield 2011-05-15 08:27:04 +00:00
parent d4be7a19eb
commit c4dff10cb4

View File

@ -361,7 +361,7 @@ WriterNodeVisitor::Material::Material(WriterNodeVisitor& writerNodeVisitor,
std::string relativePath;
externalWriter.write(*_osgImage, options, NULL, &relativePath);
_fbxTexture = KFbxTexture::Create(pSdkManager, relativePath.c_str());
_fbxTexture = KFbxFileTexture::Create(pSdkManager, relativePath.c_str());
_fbxTexture->SetFileName(relativePath.c_str());
// Create a FBX material if needed
if (!_fbxMaterial)