Parcourir la source

fixup! index on master: c826250f [gizmo] Removed hard ref to gizmo for game builds

Clement Espeute il y a 1 an
Parent
commit
5a71918e6b
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      hrt/tools/Gizmo.hx

+ 1 - 2
hrt/tools/Gizmo.hx

@@ -175,8 +175,7 @@ class Gizmo extends h3d.scene.Object {
 		var path = "./res/Editor/gizmo.hmd";
 		#end
 		var data = sys.io.File.getBytes(path);
-		var hmd = hxd.res.Any.fromBytes(path, data).toModel().toHmd();
-		return hxd.Res.Editor.gizmo.toHmd().makeObject();
+		return hxd.res.Any.fromBytes(path, data).toModel().toHmd().makeObject();
 	}
 
 	public dynamic function onChangeMode(mode : EditMode) {}