summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-01-20Merge pull request #56972 from lawnjelly/warn_unusedRémi Verschelde
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-19Improve the default project themeHugo Locurcio
The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-01-18Merge pull request #56104 from Geometror/add-flow-layout-containerRémi Verschelde
Add FlowContainer
2022-01-18Merge pull request #56622 from Pineapple/scenestate-optimizationsRémi Verschelde
2022-01-18Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascadesRémi Verschelde
2022-01-17Allow using between 1 and 8 cascades for SDFGIHugo Locurcio
This provides more flexibility between performance and quality adjustments, especially when using SDFGI for small-scale levels (which can be useful for procedurally generated scenes).
2022-01-17Merge pull request #54794 from bruvzg/runtime_bmfont_parserRémi Verschelde
2022-01-16Merge pull request #55551 from brennengreen/panorama-sky-filteringRémi Verschelde
Add filtering property to PanoramaSkyMaterial and switch from static shader to shader cache
2022-01-15Improvments for SyntaxHighlightersPaulb23
- Fix immedate Funcion in lamba highlight - Highlight signals as one colour - Highlight node paths as one colour - Highlight escape chars in strings
2022-01-14Add shader cache and filter variable to PanoramaSkyMaterialBrennen Green
2022-01-15Fix AtlasTexture nestingkleonc
2022-01-14Merge pull request #56784 from V-Sekai/expose-add-named-bindRémi Verschelde
2022-01-14Expose add_named_bind for all essential skin bindings.K. S. Ernest (iFire) Lee
2022-01-14Merge pull request #56738 from YeldhamDev/improve_tab_consistencyRémi Verschelde
2022-01-13Merge pull request #56714 from bruvzg/fix_alignment_break_overrunRémi Verschelde
2022-01-13Merge pull request #54956 from ↵Rémi Verschelde
Calinou/lineedit-textedit-add-caret-width-theme-item Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-13[TextServer] Improvements for line breaking, "Fill" alignment, overrun, and ↵bruvzg
interaction between these modes. Fix "Fill" alignment processing wrong side of the text if overrun trim was applied. Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations. Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character). Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator. Port missing overrun/justification code to the Fallback text server. Fix inferred text direction detection by controls. Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-12Improve looks and consistency of tabsMichael Alexsander
2022-01-12Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde
2022-01-12Optimize include files to improve `shader_language.h` compilation speedYuri Roubinsky
2022-01-12Merge pull request #56696 from AnilBK/use-init-listsRémi Verschelde
2022-01-12Use List Initializations for Vectors.Anilforextra
2022-01-11Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_typesRémi Verschelde
2022-01-11Fixed incorrect property typesArnav Vijaywargiya
2022-01-11Merge pull request #56323 from ↵Rémi Verschelde
Gallilus/Update-default-port_grab_distance_vertical
2022-01-09[TextServer] Improve ligature cursor handling.bruvzg
Fix mid-grapheme hit test. Fix OpenType features property handling, add default features override option. Enable mid-grapheme cursor by default.
2022-01-08Merge pull request #56330 from nikitalita/convert-old-octahedralRémi Verschelde
Convert octahedral compressed normals/tangents on 3.x meshes
2022-01-08Removed redundant ClassDB::is_class_enabled() and moved second dynamic_cast ↵Bartłomiej T. Listwon
inside worst case if
2022-01-08convert old octahedral compressed normals/tangentsnikitalita
2022-01-07Add a theme constant to change LineEdit and TextEdit's caret widthHugo Locurcio
This can be useful to improve caret visibility, especially at larger font sizes. This can also be used for accessibility purposes.
2022-01-07Add FlowContainerHendrik Brucker
2022-01-06Move metallic and roughness automated assignment to an inspector UndoRedoSaracenOne
callback.
2022-01-06Merge pull request #56480 from Chaosus/vs_plugin_gdscript_templateYuri Roubinsky
2022-01-06Merge pull request #56376 from pycbouh/theme-tombe-les-theme-propertiesRémi Verschelde
2022-01-06Add a GDScript template for `VisualShaderNodeCustom`Yuri Roubinsky
2022-01-05Merge pull request #56193 from ↵Rémi Verschelde
kodiwills/fix-update-mode-not-refreshed-visually-on-undo
2022-01-05Merge pull request #56212 from laws65/skin-export-crash-fixRémi Verschelde
2022-01-04Style: Remove inconsistently used `@author` docstringsRémi Verschelde
Each file in Godot has had multiple contributors who co-authored it over the years, and the information of who was the original person to create that file is not very relevant, especially when used so inconsistently. `git blame` is a much better way to know who initially authored or later modified a given chunk of code, and most IDEs now have good integration to show this information.
2022-01-04Merge pull request #53313 from KoBeWi/debinded_konnektRémi Verschelde
2022-01-04Merge pull request #51206 from clayjohn/Vulkan-ASSGIRémi Verschelde
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-31Correctly use fallback Theme values as last resortYuri Sizov
2021-12-29Update default port_grab_distance_verticalDavid Cambré
2021-12-24Prevent crashes on exported project relating to Skin resourcelaws65
2021-12-23add missing emit_changed() to set update mode functionKodi
2021-12-22Merge pull request #56131 from Chaosus/shader_refactor_render_modesRémi Verschelde
2021-12-21Refactor render_mode in shaders, forbid declaring duplicatesYuri Roubinsky
2021-12-21Added resource path to message about old mesh format conversionMarc Gilleron