app icon indicating copy to clipboard operation
app copied to clipboard

Fix the format of file resulting from 'ctrl+s' to make it usable as scene files

Open zenkale opened this issue 1 year ago • 2 comments

Describe the bug The file that results when we press to save a scene,"ctrl+s" has a different format as compared to format of .scn files. That makes the resulting file unusable as a scene file.

To Reproduce Steps to reproduce the behavior:

  1. Go to any of the scenes
  2. press ctrl+h
  3. Change the extension of the .json file to .scn file
  4. try to use it in webaverse by pasting in scenes folder

Expected behavior The format should be same as the .scn files so that the exact scenes can be saved and be usable next time.

Screenshots

Format of file resulting from ctrl+s:

image

Format of our scn file:

image

zenkale avatar Aug 18 '22 18:08 zenkale

Completely agree, I think the Ctrl-S format is just out of date.

avaer avatar Aug 18 '22 19:08 avaer

@avaer fixed https://github.com/webaverse/app/pull/3653

lalalune avatar Aug 18 '22 20:08 lalalune