瀏覽代碼

Revert "Creating fileName.mtl file instead of fileName.obj.mtl"

This reverts commit 5757980ea5b00d4c68fe7fcaa204212c31a2c8d7.
Andrej 8 年之前
父節點
當前提交
04dbdca329

+ 0 - 5
code/ObjExporter.cpp

@@ -124,11 +124,6 @@ std::string ObjExporter :: GetMaterialLibName()
 // ------------------------------------------------------------------------------------------------
 // ------------------------------------------------------------------------------------------------
 std::string ObjExporter :: GetMaterialLibFileName()
 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;
     return filename + MaterialExt;
 }
 }
 
 

二進制
samples/SimpleOpenGL/Debug/vc140.idb


二進制
samples/SimpleOpenGL/Debug/vc140.pdb


二進制
samples/SimpleOpenGL/SimpleOpenGL.VC.db


+ 0 - 4
samples/SimpleOpenGL/SimpleOpenGL.vcxproj.user

@@ -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>

二進制
samples/SimpleOpenGL/UpgradeLog.htm


二進制
samples/SimpleOpenGL/UpgradeLog2.htm