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) {