clementlandrin 4 luni în urmă
părinte
comite
a063923d1d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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) {