ncannasse 7 년 전
부모
커밋
0e3daeef18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      samples/SampleApp.hx

+ 1 - 1
samples/SampleApp.hx

@@ -12,7 +12,7 @@ class SampleApp extends hxd.App {
 	#if hxbit
 	override function mainLoop() {
 		if( hxd.Key.isDown(hxd.Key.CTRL) && hxd.Key.isPressed("S".code) ) {
-			var bytes = new h3d.impl.Serializable.SceneSerializer().saveHSD(s3d,false);
+			var bytes = s3d.serializeScene();
 			hxd.File.saveBytes("scene.hsd", bytes);
 		}
 		super.mainLoop();