Просмотр исходного кода

Fixed ImportOptions being generated but not passed on

MarcoROG 8 лет назад
Родитель
Сommit
51ee2fc027
1 измененных файлов с 1 добавлено и 1 удалено
  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);