From c4dff10cb40a20e0be1852ec9443d4430980db7b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 15 May 2011 08:27:04 +0000 Subject: [PATCH] From Wang Rui, build fix --- src/osgPlugins/fbx/WriterNodeVisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/fbx/WriterNodeVisitor.cpp b/src/osgPlugins/fbx/WriterNodeVisitor.cpp index 41a1ceefe..9f60d7f87 100644 --- a/src/osgPlugins/fbx/WriterNodeVisitor.cpp +++ b/src/osgPlugins/fbx/WriterNodeVisitor.cpp @@ -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)