clementlandrin 4 місяців тому
батько
коміт
a063923d1d
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      hrt/prefab/l3d/modellibrary/Batcher.hx

+ 1 - 1
hrt/prefab/l3d/modellibrary/Batcher.hx

@@ -29,7 +29,7 @@ class Batcher extends h3d.scene.Object {
 	}
 
 	public function getPrimitive() {
-		return library.cache.hmdPrim;
+		return library.getPrim();
 	}
 
 	public function defaultCreateMeshBatch(?props : PbrProps, ?material : h3d.mat.Material) {