Custom Properties not loading from .json
Posted: Sun Sep 14, 2014 10:37 am
Hi, all,
I have noticed that the Rube editor does not show custom properties when a scene is loaded from .json file; though I can see that it is capable saving these.
To rectreate:
1. create a scene with a body + fixture.
2. add custom String property on the body.
3. save as .json by going File -> Export Scene -> Save Raw Info
4. close the scene
5. open the saved file
The custom property we have added is not shown on the body properties. if we edit the scene and save/overwrite the file, the property still remains in JSON. This makes me think that either I am doing something silly or there is a bug. I fit's a bug, and since the overwriting the opened file does not remove the property, then the property gets loaded into the model when JSON is opened, but this is not reflected in GUI.
Rube version: 1.6.1
I have noticed that the Rube editor does not show custom properties when a scene is loaded from .json file; though I can see that it is capable saving these.
To rectreate:
1. create a scene with a body + fixture.
2. add custom String property on the body.
3. save as .json by going File -> Export Scene -> Save Raw Info
4. close the scene
5. open the saved file
The custom property we have added is not shown on the body properties. if we edit the scene and save/overwrite the file, the property still remains in JSON. This makes me think that either I am doing something silly or there is a bug. I fit's a bug, and since the overwriting the opened file does not remove the property, then the property gets loaded into the model when JSON is opened, but this is not reflected in GUI.
Rube version: 1.6.1