0 votes

As I was debugging the engine, I've came across an instance of EditorFolding (godot\editor\editor_folding.h) and I've no idea what that class is for. Could someone explain ( and what does the method EditorFolding::save_scene_folding() do) ?

in Engine by (246 points)

1 Answer

+1 vote
Best answer

When you save a scene (or resource), Godot will store information regarding:

  • the properties in the inspector you unfolded (node|resource_unfolds)
  • the nodes in the scene-tree you folded away (nodes_folded)

On Linux you can find the files containing these information under ~/.config/godot/projects/<ProjectName>-<MD5Sum>. There are normal *.cfg-files, so you can open and read them with any standard text editor. If you reopen the scene, this information will be loaded to restore the work environment precisely the way you left it.

by (10,255 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.