Pārlūkot izejas kodu

Fix material library loading with prefab2.

clementlandrin 1 gadu atpakaļ
vecāks
revīzija
2e1893d23e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      hxd/fmt/hmd/Library.hx

+ 2 - 2
hxd/fmt/hmd/Library.hx

@@ -18,9 +18,9 @@ private class FormatMap {
 private class ContextShared extends hrt.prefab.ContextShared {
 	var customLoadTexture : String -> h3d.mat.Texture;
 
-	public function new(loadTexture : String -> h3d.mat.Texture, ?root2d: h2d.Object = null, ?root3d: h3d.scene.Object = null) {
+	public function new(loadTexture : String -> h3d.mat.Texture, ?root3d: h3d.scene.Object = null) {
 		#if prefab2
-		super(root2d, root3d);
+		super(root3d);
 		#else
 		super();
 		#end