#thumb("") comment causes inconsistent node description based on OS #210
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
godot-change
Requires changing the Godot Source Code
Node descriptions (Script Documentation Comments) are a vital part of the exploration possibilities when adding a new node.
![image](https://private-user-images.githubusercontent.com/29424520/308586689-54efc66d-a65b-4617-a38e-490eafa42ee8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTExMDAsIm5iZiI6MTcxOTE5MDgwMCwicGF0aCI6Ii8yOTQyNDUyMC8zMDg1ODY2ODktNTRlZmM2NmQtYTY1Yi00NjE3LWEzOGUtNDkwZWFmYTQyZWU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDAxMDAwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwNjQ0NDVkNTNlZWI5NzEwOTRlYmViN2JkZDlkZjc1ZTNhMDcwNjA0YmIzYzE5MGYxNzNhZWFhMmIzMWIzNGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5Flhcs2XToVEic_oNgasFpPKVZGA0JjTsbxNnW-5-AA)
Usually these are marked by '##' and contain a short and/or long description of the node/script, like so:
However, this description appears to only load into the node addition dialog based on the underlying OS.
Tested:
Both OS had the Version v4.2.1.stable.official [b09f793f5] of Godot installed.
My guess is this is caused by the #thumb("") annotation in line 2 of each Behavior script.
For some reason, the Ubuntu version of Godot handles this differently from the Windows version.
When the #thumb("") annotation is removed or moved below the descriptive comments, the Ubuntu version "sometimes" displays the correct description.
Therefore, either move the #thumb annotation below the descriptive comments or take it up with the godot project:
https://github.com/godotengine/godot/issues
The text was updated successfully, but these errors were encountered: