summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-10-08Remove leading spaces from enumerator name hintsHaoyu Qiu
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as a comma separated list. There're a few properties that add leading spaces to the names (e.g. `First, Second, Third`). These spaces are included in the Inspector dropdown, which is unexpected. It's better to leave the surrounding spaces untouched because it could be part of the resulting string value (the variable is a string enum). And most other enum hints don't contain surrounding whitespaces. This PR removes the spaces and documents this `PROPERTY_HINT_ENUM` behavior.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-07Merge pull request #62910 from Vitika9/gsoc-colorpicker-uxRémi Verschelde
ColorPicker UX
2022-10-06Handle last baked vector index earlyNikola Bunjevac
2022-10-05Merge pull request #66560 from MisterMX/fix/tileset-move-custom-data-layerRémi Verschelde
fix(tileset): Move custom data layer
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables
2022-10-05Merge pull request #66911 from clayjohn/imagetexture3dRémi Verschelde
Properly assign texture RID when creating ImageTexture3D
2022-10-04Properly assign texture RID when creating ImageTexture3Dclayjohn
2022-10-04Support nesting AtlasTextures inside other AtlasTexturesMicky
Connects AtlasTexture to its `atlas`'s "changed" signal, allowing it to detect property changes to `atlas` and update accordingly, when the project is running and in the editor, as well.
2022-10-03Fix boolean connection to ports of other types in visual shaderYuri Rubinsky
2022-10-01Remove usage of unitialized variablesRafał Mikrut
2022-09-30Merge pull request #65903 from groud/improve_terrain_paintingRémi Verschelde
Right-click to erase TileSet terrains and bugfixes
2022-09-29fix(tileset): Move custom data layerMisterMX
Fix crash when moving a custom data layer. Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-29Merge pull request #66583 from bruvzg/constexprRémi Verschelde
Use `constexpr` in the conditions with template parameters and `sizeof`s to suppress C4127 warnings.
2022-09-29Merge pull request #66552 from bruvzg/64_bitfieldsRémi Verschelde
Change BitField to use 64-bit int.
2022-09-29Merge pull request #66565 from clayjohn/canvas-lightsRémi Verschelde
Clean up canvas light shader API.
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.
2022-09-28Merge pull request #66551 from bruvzg/font_is_cyclicRémi Verschelde
Fix Font::_is_cyclic.
2022-09-28Merge pull request #66545 from akien-mga/msvc-warnings-c4324-c4389-c4456-c4459Rémi Verschelde
Fix MSVC warnings C4324, C4389, C4456, and C4459
2022-09-28Clean up canvas light shader API.clayjohn
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL. Add LIGHT_DIRECTION
2022-09-28Fix Font::_is_cyclic.bruvzg
2022-09-28Fix MSVC warning C4702: unreachable codeRémi Verschelde
Part of #66537.
2022-09-28Fix MSVC warnings C4324, C4389, C4456, and C4459Rémi Verschelde
Part of #66537.
2022-09-28Change BitField to use 64-bit int.bruvzg
2022-09-27Merge pull request #66160 from dpalais/double_timeRémi Verschelde
Use double instead of real_t type for time-related parameters and variables
2022-09-27Merge pull request #66444 from Calinou/fogvolume-tweak-density-property-hintRémi Verschelde
Tweak FogVolume density property to allow sliding to negative values
2022-09-26Change time parameters and variables to double typeDave Palais
Addresses #65313
2022-09-26Tweak FogVolume density property to allow sliding to negative valuesHugo Locurcio
Negative density is used to subtract fog from the rest of the world. The visible range in the slider was reduced to [-8; 8] as FogVolume density should generally not exceed 8.0 (it can introduce aliasing).
2022-09-26Style: Cleanup header guards for consistencyRémi Verschelde
Fix file names for {Static,Lightmap}RaycasterEmbree.
2022-09-23Set QuadMesh default size back to 1clayjohn
2022-09-22Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1Rémi Verschelde
Not sure why I didn't get those before, it may be due to upstream changes (12.2.1 is a moving target, it's basically 12.3-dev), or simply rebuilding Godot from scratch with different options.
2022-09-21Remove unused struct in GradientTexture1DMicky
2022-09-21Let the cached `TextLine` reset the width in `get_string_size`Rindbee
Previously, the cached `TextLine` would set the width in `draw_string`, but not in `get_string_size`, which resulted in unexpected results returned by `get_string_size` in some cases.
2022-09-19Merge pull request #65918 from clayjohn/quadmeshRémi Verschelde
Add QuadMesh back as a subclass of PlaneMesh.
2022-09-19Add QuadMesh back as a subclass of PlaneMesh.clayjohn
This simplifies the creation of billboarded meshes without any code overhead.
2022-09-18Changed the rest definition of SkeletonProfileHumanoid thumbSilc Renew
2022-09-16Right-click to erase TileSet terrains and bugfixesGilles Roudière
2022-09-16Merge pull request #65873 from Chaosus/fix_uniform_sortingRémi Verschelde
Fix sorting of uniform items in the material properties
2022-09-16Merge pull request #65325 from TokageItLab/refactor-variant-for-animRémi Verschelde
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-16Fix sorting of uniform items in the material propertiesYuri Rubinsky
Co-authored-by: Chia-Hsiang Cheng <garychia@users.noreply.github.com>
2022-09-142D and 3D Skeleton modification docs, and small fixes.Lyuma
Mark SkeletonModificationStack3D and related as deprecated. Mark local bone override and axis functions deprecated in Skeleton3D api. Fix array property glitch in SkeletonModificationStack2D Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14Merge pull request #64092 from nathanfranke/shader-uniformRémi Verschelde
2022-09-15Move some methods to Animation from Variant for refactoringSilc Renew
2022-09-14Merge pull request #65628 from JohanAR/particle_billboard_normalRémi Verschelde
Calculate MODELVIEW_NORMAL_MATRIX for billboard materials
2022-09-14Merge pull request #65493 from V-Sekai/lod_scalingRémi Verschelde
Fixes LOD scaling issues on skinned meshes.
2022-09-14Merge pull request #65737 from bruvzg/font_do_not_emit_from_dtrRémi Verschelde
[Font] Remove unnecessary cleanup and `changed` signal emission from the destructor.
2022-09-14Fix LOD-generation on skinned meshes.SaracenOne
2022-09-13Move debanding into internal sky shader code so that it is applied after ↵clayjohn
everything else. This ensures that the debanding does not scale with exposure or any other effect.
2022-09-13[Font] Remove unnecessary cleanup and `changed` signal emission from the ↵bruvzg
destructor.
2022-09-10Calculate MODELVIEW_NORMAL_MATRIX for billboard materialsJohan Aires Rastén
Solves #65627