Generate thumbnails on imported scenes.#96544
Conversation
d934af5 to
7da9533
Compare
|
In editor_inteface.cpp error in the comment on line 300 |
|
@SaracenOne Do you think this can be done for the 4.4 cycle? |
There was a problem hiding this comment.
Tested locally (rebased on top of master f952bfe), it works as expected.
| 1 | 2 | 3 | 4 |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Note that you must reimport the scene for the preview to be generated (existing projects won't have one automatically created). Also, it can take a few seconds for the icon to appear in the FileSystem dock after reimporting.
For some assets, it results in a gray preview, presumably due to skinning resulting in a different AABB than needed. This happens with player.glb from the 3D Platformer demo:
Also, cube.glb from the Global Illumination demo is too zoomed in:
zdm2.glb from the same demo is fine though:
|
Going to do a rebase and push it. |
26297cc to
00e6791
Compare
This comment was marked as outdated.
This comment was marked as outdated.
5efd7b6 to
fce7fa3
Compare
|
We discussed how the thumbnail in imported scenes needs features added.
What do you think about greenlighting the pull request as is and revisiting thumbnails in imported scenes feature enhancements later to see if it can be improved? |
cf698a4 to
74611a7
Compare
Repiteo
left a comment
There was a problem hiding this comment.
Accepting with the expectation that this will be followed up on soon™ with the aforementioned features
|
Thanks! |
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909
EditorNode is a very heavy object that current test harness cannot create, so after godotengine#96544 editor import cannot be tested. Split off from godotengine#98909







Ends a somewhat long-standing discontinuity of the imported scenes (FBX, GLTF, Collada, ect.) not having any thumbnail previews like regular Godot scenes. It does this by providing a hook step where they can be generated and cached upon reimport.
Keeping this in draft for now since it could probably benefit from further refactoring, improving bounds calculations for skinned meshes, and adding displayable gizmos for the cases where no mesh instances could be found (animation or collision-only imports, for example).