summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-10-14Make some Image methods statickobewi
2022-10-14Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signalsRémi Verschelde
Do not allow editing Scene-inherited signal connections
2022-10-13Do not allow editing Scene-inherited signal connectionsMicky
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13Optimize Convex CollisionJuan Linietsky
Implements the Gauss Mapping optimization to SAT convex collision test. * Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius. * Requires adding of face information to edges in MeshData * Took the chance to convert MeshData to LocalVector for performance.
2022-10-13Merge pull request #67336 from jbcolli2/Normal-of-CylinderMeshRémi Verschelde
Fix bug in CylinderMesh when computing normals
2022-10-13Changed normal of CylinderMesh to account for slanted side.jbcolli2
2022-10-13Merge pull request #66349 from A-Lamia/Amount_At_CollisionRémi Verschelde
PARTICLES: adds amount property to collision sub particles.
2022-10-13particles: add amount property to sub property collision.Lamia
2022-10-12Merge pull request #65714 from benbot/fix-double-particle-collision-calculationRémi Verschelde
2022-10-11Merge pull request #63271 from Chaosus/fix_texture_errorRémi Verschelde
Fix error emitting when opening some textures in the inspector
2022-10-11Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-esRémi Verschelde
Rename remaining "*_enable" to "*_enabled"
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10Defer clearing of ResourceUID cache and silence warningskobewi
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-21Rename remaining "*_enable" to "*_enabled"Micky
Material.`proximity_fade_enable` -> `proximity_fade_enabled` Material.`set_proximity_fade` -> `set_proximity_fade_enabled` (Material.`is_proximity_fade_enabled` is unchanged) Area3D.`reverb_bus_enable` -> `reverb_bus_enabled` (`set_use_reverb_bus` & `is_using_reverb_bus` are unchanged) RDPipelineRasterizationState: `depth_bias_enable` -> `depth_bias_enabled` `set_depth_bias_enable` -> `set_depth_bias_enabled` `get_depth_bias_enable` -> `get_depth_bias_enabled` Bonus: Area3D.`set_reverb_bus` -> `set_reverb_bus_name` Area3D.`get_reverb_bus` -> `set_get_reverb_bus_name`
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