Revert "Creating fileName.mtl file instead of fileName.obj.mtl"
authorAndrej <Andrej@HOMEWIN10>
Tue, 16 May 2017 13:47:57 +0000 (15:47 +0200)
committerAndrej <Andrej@HOMEWIN10>
Tue, 16 May 2017 13:47:57 +0000 (15:47 +0200)
This reverts commit 5757980ea5b00d4c68fe7fcaa204212c31a2c8d7.

code/ObjExporter.cpp
samples/SimpleOpenGL/Debug/vc140.idb [deleted file]
samples/SimpleOpenGL/Debug/vc140.pdb [deleted file]
samples/SimpleOpenGL/SimpleOpenGL.VC.db [deleted file]
samples/SimpleOpenGL/SimpleOpenGL.vcxproj.user [deleted file]
samples/SimpleOpenGL/UpgradeLog.htm [deleted file]
samples/SimpleOpenGL/UpgradeLog2.htm [deleted file]

index c252cf3..564de1c 100644 (file)
@@ -124,11 +124,6 @@ std::string ObjExporter :: GetMaterialLibName()
 // ------------------------------------------------------------------------------------------------
 std::string ObjExporter :: GetMaterialLibFileName()
 {
-    // Remove existing .obj file extention so that the final material file name will be fileName.mtl and not fileName.obj.mtl
-    size_t lastdot = filename.find_last_of(".");
-    if (lastdot != std::string::npos)
-        filename = filename.substr(0, lastdot);
-        
     return filename + MaterialExt;
 }
 
diff --git a/samples/SimpleOpenGL/Debug/vc140.idb b/samples/SimpleOpenGL/Debug/vc140.idb
deleted file mode 100644 (file)
index 29cc472..0000000
Binary files a/samples/SimpleOpenGL/Debug/vc140.idb and /dev/null differ
diff --git a/samples/SimpleOpenGL/Debug/vc140.pdb b/samples/SimpleOpenGL/Debug/vc140.pdb
deleted file mode 100644 (file)
index 39a9ed3..0000000
Binary files a/samples/SimpleOpenGL/Debug/vc140.pdb and /dev/null differ
diff --git a/samples/SimpleOpenGL/SimpleOpenGL.VC.db b/samples/SimpleOpenGL/SimpleOpenGL.VC.db
deleted file mode 100644 (file)
index 1c7c98b..0000000
Binary files a/samples/SimpleOpenGL/SimpleOpenGL.VC.db and /dev/null differ
diff --git a/samples/SimpleOpenGL/SimpleOpenGL.vcxproj.user b/samples/SimpleOpenGL/SimpleOpenGL.vcxproj.user
deleted file mode 100644 (file)
index abe8dd8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup />
-</Project>
\ No newline at end of file
diff --git a/samples/SimpleOpenGL/UpgradeLog.htm b/samples/SimpleOpenGL/UpgradeLog.htm
deleted file mode 100644 (file)
index 3282796..0000000
Binary files a/samples/SimpleOpenGL/UpgradeLog.htm and /dev/null differ
diff --git a/samples/SimpleOpenGL/UpgradeLog2.htm b/samples/SimpleOpenGL/UpgradeLog2.htm
deleted file mode 100644 (file)
index 0181993..0000000
Binary files a/samples/SimpleOpenGL/UpgradeLog2.htm and /dev/null differ