Pārlūkot izejas kodu

Merge branch 'master' into enable_vs_warning_all

Kim Kulling 5 gadi atpakaļ
vecāks
revīzija
7fda14078b

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 571 - 0
test/models/FBX/cubes_with_outofrange_float.fbx


+ 7 - 0
test/unit/utFBXImporterExporter.cpp

@@ -310,3 +310,10 @@ TEST_F(utFBXImporterExporter, sceneMetadata) {
         ASSERT_EQ(strncmp(generator.C_Str(), "Blender", 7), 0);
     }
 }
+
+TEST_F(utFBXImporterExporter, importCubesWithOutOfRangeFloat) {
+    Assimp::Importer importer;
+    const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/FBX/cubes_with_outofrange_float.fbx", aiProcess_ValidateDataStructure);
+    ASSERT_NE(nullptr, scene);
+    ASSERT_TRUE(scene->mRootNode);
+}

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels