diff --git a/code/ColladaExporter.cpp b/code/ColladaExporter.cpp index 62293a941..487d64a36 100644 --- a/code/ColladaExporter.cpp +++ b/code/ColladaExporter.cpp @@ -157,9 +157,7 @@ void ColladaExporter::WriteImageEntry( const Surface& pSurface, const std::strin mOutput << startstr << "" << endstr; PushTag(); mOutput << startstr << ""; - if( pSurface.texture.find( "file://") == std::string::npos ) - mOutput << "file://"; - for( std::string::const_iterator it = std::begin( pSurface.texture); it != std::end( pSurface.texture); ++it ) + for( std::string::const_iterator it = pSurface.texture.begin(); it != pSurface.texture.end(); ++it ) { if( isalnum( *it) || *it == '_' || *it == '.' || *it == '/' || *it == '\\' ) mOutput << *it;