Revert "corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp"
This reverts commit 7a1324800f
.
This commit is contained in:
parent
78300f7d61
commit
912e4f8a0c
@ -599,7 +599,7 @@ osgDB::ReaderWriter::WriteResult ReaderWriterFBX::writeNode(
|
|||||||
|
|
||||||
if (!exportVersion.empty() && !lExporter->SetFileExportVersion(FbxString(exportVersion.c_str()), FbxSceneRenamer::eNone)) {
|
if (!exportVersion.empty() && !lExporter->SetFileExportVersion(FbxString(exportVersion.c_str()), FbxSceneRenamer::eNone)) {
|
||||||
std::stringstream versionsStr;
|
std::stringstream versionsStr;
|
||||||
char const * versions = lExporter->GetCurrentWritableVersions();
|
char const * const * versions = lExporter->GetCurrentWritableVersions();
|
||||||
if (versions) for(; *versions; ++versions) versionsStr << " " << *versions;
|
if (versions) for(; *versions; ++versions) versionsStr << " " << *versions;
|
||||||
OSG_WARN << "Can't set FBX export version to '" << exportVersion << "'. Using default. Available export versions are:" << versionsStr.str() << std::endl;
|
OSG_WARN << "Can't set FBX export version to '" << exportVersion << "'. Using default. Available export versions are:" << versionsStr.str() << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user