summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-02-08Initialize class/struct variables with default values in modules/Rafał Mikrut
2021-02-07Invert spotlight angle attenuationjfons
Inverted the spotlight angle attenuation so a higher value results in a dimmer light, this makes it more consistent with the distance attenuation. Also changed the way spotlighs are computed in SDFGI and GIPorbes and GPU lightmapper, now it matches the falloff used in the scene rendering code.
2021-02-06Snap VisualScript comment to grid when resizingKanabenki
2021-02-05Merge pull request #45667 from Calinou/doc-gridmap-no-visual-layersRémi Verschelde
Document that GridMap doesn't support visual layers or cull masks
2021-02-04[Mono] Use the same search logic for both `MSBuild` and `dotnet`, add custom ↵bruvzg
search paths on macOS.
2021-02-04Fix a crash in the TGA loader with malformed inputHein-Pieter van Braam-Stewart
2021-02-02Document that GridMap doesn't support visual layers or cull masksHugo Locurcio
See #40245.
2021-02-02C conformance: Include stdbool.h to define `bool`Miguel de Icaza
`bool` is otherwise not defined in C.
2021-02-01Replace ColorN and from HTML with a string constructorAaron Franke
2021-02-01Merge pull request #37547 from aaronfranke/tauRémi Verschelde
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01Merge pull request #45608 from bruvzg/font_int_coordsRémi Verschelde
Use integer coordinates for the font glyphs rendering.
2021-02-01Fix C# string.Hash()zaevi
2021-01-31Use integer coordinates for the font glyphs rendering.bruvzg
2021-01-31Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde
Modernize Thread
2021-01-30Fix WebXRInterface code sample in the class referenceHugo Locurcio
This also fixes the code sample's indentation to look correct in the editor help.
2021-01-29Merge pull request #45519 from aaronfranke/physics-real_tRémi Verschelde
Use real_t in physics code
2021-01-29Add GDNative JSON generator for the builtin APIGeorge Marques
Which can be used by language bindings to generate code statically. This is generated as a different file from the class API because it has different requirements (the builtin types have constructors and don't have signals), so bindings can better make use of each JSON file without extra parsing. This also cleans up a bit the old API generator, mainly initializing structs and renaming "instanciable" to the more correct "instantiable". The argument description in help text was updated to better reflect how it should be used. The <path> argument is mandatory.
2021-01-29Modernize ThreadPedro J. Estébanez
- Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
2021-01-28Remove reference to CanvasLayer in WebXR example, because it can cause ↵David Snopek
rendering issues in AR.
2021-01-28Use real_t in physics codeAaron Franke
2021-01-28Merge pull request #45525 from van800/rider-lineRémi Verschelde
Navigating to error line number in Rider from Godot editor debugger console is off-by-one.
2021-01-28Fix off by one error navigating to line number in RiderIvan Shakhov
Fixes https://github.com/JetBrains/godot-support/issues/61
2021-01-28Unify URI encoding/decoding and add to C#Aaron Franke
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
2021-01-28Make hex_to_int and bin_to_int handle the prefix automaticallyAaron Franke
Also add BinToInt to C#
2021-01-27Prevent fatal error in WebXR when 'immersize-ar' loses and regains trackingDavid Snopek
2021-01-27Merge pull request #45444 from dsnopek/webxr-master-monoRémi Verschelde
Support mono devices in WebXR
2021-01-26Fix zero scaling and material mappings being mapped to wrong fieldsGordon MacPherson
- fixes scale values of 0.0013 (det == 0.00004) not rendering, they should render even at small values, but not at zero like the editor grid plugin supplies zero exactly. - fixes node_3d_editor_plugin visibility bug when scale is zero - fix culling with small scaling values - which are still valid to be rendered like 0.00004 note: grid is still not fixed, it has det == 0 issues but this fixes one of them.
2021-01-26Merge pull request #45373 from aaronfranke/gdnative-sizeofGeorge Marques
Define GDNative sizes using sizeof(godot_real) and sizeof(int32_t)
2021-01-26Merge pull request #45466 from reduz/reorganize-rendering-device-layersJuan Linietsky
Reorganize RenderingDevice barriers
2021-01-26Merge pull request #45479 from lucasvanmol/highlight-patchRémi Verschelde
Fix highlight color for class attributes that are also keywords
2021-01-26Merge pull request #44617 from geekrelief/gdnative_unloadRémi Verschelde
free library when no nativescripts reference it
2021-01-26Merge pull request #45029 from neikeq/issue-40023Rémi Verschelde
C#: Fix System.Collections.Generic.List marshalling
2021-01-26Fix highlight color for class attributes that are also keywordsLucas Van Mol
2021-01-26Merge pull request #45252 from naithar/feature/plugins-migrationRémi Verschelde
[4.0] [iOS] iOS Plugins Migration
2021-01-26Reorganize RenderingDevice barriersreduz
-Removed sync to draw, now everything syncs to draw by default. -Fixed many validation layer errors. -Added support for VkImageViewUsageCreateInfo to fix validation layer warnings. -Texture, buffer, raster and compute functions now all allow spcifying which barriers will be used.
2021-01-26Merge pull request #45435 from fire/gltf-node-anim-exportRémi Verschelde
Restore gltf node animation export.
2021-01-26Remove Quat set methods in favour of constructorsMarcel Admiraal
2021-01-26Merge pull request #45375 from aaronfranke/gltf-csg-gridmapRémi Verschelde
Make GLTF not depend on CSG or GridMap
2021-01-25Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t)Aaron Franke
2021-01-25Merge pull request #44989 from vnen/gdnative-new-apiRémi Verschelde
New API for GDNative
2021-01-25Merge pull request #45447 from pycbouh/graphedit-minimap-active-invisibleRémi Verschelde
Fix minimap capturing events and improve its theme and editor settings
2021-01-25Fix minimap capturing events and improve its themeYuri Sizov
Add an editor setting for minimap opacity in visual editors
2021-01-25Support mono devices in WebXRDavid Snopek
2021-01-25GDNative: Remove print functionsGeorge Marques
Those are now utilities so the function pointer can be fetched when needed.
2021-01-25GDNative: New core APIGeorge Marques
This API now uses the discovery functions present in Variant instead of wrapping every built-in function. Users now need to query for function pointers and use those.
2021-01-25[CTL] Do not break line on the span (e.g. RTL BBCode tag) edges.bruvzg
2021-01-24Restore gltf node animation export.K. S. Ernest (iFire) Lee
Misc style changes.
2021-01-22Make GLTF not depend on CSG or GridMapAaron Franke
2021-01-20Merge pull request #45023 from reduz/optimize-shader-vgpr1Rémi Verschelde
Shader optimizations to reduce VGPR usage and increase occupancy
2021-01-19Cleanup: Remove executable bit from files which don't need itRémi Verschelde
Drop unused xpmfix.sh script.