Sfoglia il codice sorgente

Fixed ImportOptions being generated but not passed on

MarcoROG 8 anni fa
parent
commit
51ee2fc027
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Source/Examples/ExampleGettingStarted/Source/Main.cpp

+ 1 - 1
Source/Examples/ExampleGettingStarted/Source/Main.cpp

@@ -190,7 +190,7 @@ namespace bs
 				importOptions->setCPUCached(true);
 			}
 
-			model = gImporter().import<Mesh>(exampleModelPath);
+			model = gImporter().import<Mesh>(exampleModelPath, meshImportOptions);
 
 			// Save for later use, so we don't have to import on the next run.
 			gResources().save(model, exampleModelAssetPath, true);