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();