summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-02-02Add support for 2D vector type to visual shadersYuri Roubinsky
2022-02-02[TextServer] Add function to change font, font size, and OpenType features ↵bruvzg
without invalidating line break points, justification points, or recreating shaped text buffer.
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-02-01Merge pull request #57376 from Calinou/gradienttexture2d-clamp-sizeRémi Verschelde
2022-02-01Merge pull request #57375 from ↵Rémi Verschelde
Calinou/gradienttexture-curvetexture-decrease-default-size
2022-01-31Merge pull request #56970 from YeldhamDev/rise_tabbar_riseRémi Verschelde
2022-01-31Bring `TabBar` to full parity with the `TabContainer` implementation.Michael Alexsander
2022-01-31Merge pull request #57367 from Chaosus/vs_derivativeRémi Verschelde
2022-01-30Move placeholder color to theme itemPaulb23
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-29Clamp GradientTexture2D dimensions to 2048×2048 in the inspectorHugo Locurcio
Larger sizes take up a lot of memory for little visual benefit. They also take a while to initialize, which makes the inspector slow to refresh when the texture needs to be regenerated.
2022-01-29Decrease the default GradientTexture and CurveTexture sizeHugo Locurcio
This provides better usability when a GradientTexture or CurveTexture is added to a Control node. Visual appearance of most GradientTextures and CurveTextures will be unaffected.
2022-01-28Merge pull request #57371 from Scony/fix-navigation-2d-defaultsRémi Verschelde
2022-01-28Merge pull request #57368 from TokageItLab/fix-delta-for-animation-treeRémi Verschelde
2022-01-28Improve Navigation2D default settings, see #56852Pawel Lampe
This commit reduces `cell_size` and `edge_connection_margin` default values so that `Navigation2D` behaves more like in Godot <= `3.4` by default.
2022-01-29Make AnimationTree delta argument force double in coreSilc 'Tokage' Renew
2022-01-28[VisualShader] Merge scalar and vector derivative functions into oneYuri Roubinsky
2022-01-28TileSetAtlasSource: Make `get_tile_data` return `TileData *`Rémi Verschelde
This is now possible thanks to `Variant` changes. Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-26Merge pull request #54574 from Ansraer/glow_mapRémi Verschelde
2022-01-25Merge pull request #53954 from Chaosus/fix_quit_errorsRémi Verschelde
2022-01-25Merge pull request #55841 from OverloadedOrama/expose-bitmap-methodsRémi Verschelde
2022-01-25Merge pull request #56891 from rafallus/meshlib_shapes_arrayRémi Verschelde
2022-01-23Merge pull request #57056 from Chaosus/vs_fix_defaultsRémi Verschelde
2022-01-22Merge pull request #56912 from AnilBK/circle-fixRémi Verschelde
Circle&CapsuleShape2D: Fix outlines missing line.
2022-01-22Circle&CapsuleShape2D: Fix outlines missing line.Anilforextra
2022-01-22Remove transform input from fog mode in visual shadersYuri Roubinsky
2022-01-22Fix default input port hints for some modes in visual shaderYuri Roubinsky
2022-01-21Fix undo after non-last port removal in `VisualShaderNodeExpression`Yuri Roubinsky
2022-01-20Rename or refactor macros to avoid leading underscoresOmar Polo
These are not used consistently and some can conflict with system-specific defines. While here, also delete some unused macros.
2022-01-20add support for glow mapsAnsraer
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-18Make sure `MeshLibrary` shape array has correct number of elementsrafallus
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