Jelajahi Sumber

fix invalid cast.

Kim Kulling 5 tahun lalu
induk
melakukan
7e222f0730
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      code/PostProcessing/ValidateDataStructure.cpp

+ 1 - 1
code/PostProcessing/ValidateDataStructure.cpp

@@ -637,7 +637,7 @@ void ValidateDSProcess::SearchForInvalidTextures(const aiMaterial* pMaterial,
                 ReportError("Material property %s%i is expected to be 5 floats large (size is %i)",
                     prop->mKey.data,prop->mIndex, prop->mDataLength);
             }
-            mappings[prop->mIndex] = *((aiTextureMapping*)prop->mData);
+			//mappings[prop->mIndex] = ((aiUVTransform*)prop->mData);
         }
         else if (!::strcmp(prop->mKey.data,"$tex.uvwsrc")) {
             if (aiPTI_Integer != prop->mType || sizeof(int) > prop->mDataLength)