瀏覽代碼

Update glTF2Exporter.cpp

Replacing tabs by spaces.
Kim Kulling 5 年之前
父節點
當前提交
0269000884
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/glTF2/glTF2Exporter.cpp

+ 1 - 1
code/glTF2/glTF2Exporter.cpp

@@ -352,7 +352,7 @@ void glTF2Exporter::GetMatTex(const aiMaterial* mat, Ref<Texture>& texture, aiTe
                     if (path[0] == '*') { // embedded
                         aiTexture* tex = mScene->mTextures[atoi(&path[1])];
 						
-						texture->source->name = tex->mFilename.C_Str();
+                        texture->source->name = tex->mFilename.C_Str();
 
                         // The asset has its own buffer, see Image::SetData
                         texture->source->SetData(reinterpret_cast<uint8_t*> (tex->pcData), tex->mWidth, *mAsset);