Explorar o código

Fixed ImportOptions being generated but not passed on

MarcoROG %!s(int64=8) %!d(string=hai) anos
pai
achega
51ee2fc027
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
 				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.
 			// Save for later use, so we don't have to import on the next run.
 			gResources().save(model, exampleModelAssetPath, true);
 			gResources().save(model, exampleModelAssetPath, true);