Explorar el Código

Fixed ImportOptions being generated but not passed on

MarcoROG hace 8 años
padre
commit
51ee2fc027
Se han modificado 1 ficheros con 1 adiciones y 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);
 			}
 
-			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);