summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-10Fix crash when parsing Dictionarykobewi
2021-08-10Merge pull request #51457 from nekomatata/moving-platforms-3dRémi Verschelde
Fix 3D moving platform logic
2021-08-10Merge pull request #51470 from akien-mga/windows-share-denynoRémi Verschelde
FileAccessWindows: Add missing share.h include
2021-08-10FileAccessWindows: Add missing share.h includeRémi Verschelde
Follow-up to #51430.
2021-08-10Merge pull request #50682 from aaronfranke/basis-looking-atRémi Verschelde
Move code for looking_at to Basis
2021-08-10Merge pull request #51467 from Chaosus/fix_aaRémi Verschelde
Fix incorrect border width of antialiased lines
2021-08-10Merge pull request #51464 from hpnrep6/mesh-disable-deprecatedRémi Verschelde
Enclose deprecated components with `DISABLE_DEPRECATED` in Mesh
2021-08-10Merge pull request #51436 from Calinou/tonemap-clamp-negative-colorsRémi Verschelde
Clamp negative colors regardless of the tonemapper to avoid artifacts
2021-08-10Merge pull request #51417 from clayjohn/Vulkan-horizon-soRémi Verschelde
Add horizon specular occlusion
2021-08-10Merge pull request #51430 from mhilbrunner/windows-filesRémi Verschelde
2021-08-10Merge pull request #51463 from SaracenOne/assign_path_fixRémi Verschelde
Assign embedded text resource path earlier to prevent error on embedded scripts
2021-08-10Fix incorrect border width of antialiased linesYuri Roubinsky
2021-08-10Merge pull request #21922 from aaronfranke/doubleRémi Verschelde
Some work on double-precision support
2021-08-10Enclose unused components in DISABLE_DEPRECATEDhpnrep6
2021-08-10Assign embedded text resource path earlier to prevent error on embedded scripts.SaracenOne
2021-08-09Fix 3D moving platform logicPouleyKetchoupp
Same thing that was already done in 2D, applies moving platform motion by using a call to move_and_collide that excludes the platform itself, instead of making it part of the body motion. Helps with handling walls and slopes correctly when the character walks on the moving platform. Also made some minor adjustments to the 2D version and documentation. Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-08-10Merge pull request #51454 from nathanfranke/follow-up-snamesRémi Verschelde
Follow-Up Add SNames to get theme icon
2021-08-09Follow-Up Add SNames to get theme iconNathan Franke
2021-08-09Some work on double supportAaron Franke
2021-08-10Merge pull request #51453 from Blackiris/fix-new-inherited-scriptRémi Verschelde
Fix infinite loop when creating a newly inherited GDScript file
2021-08-09Fix infinite loop when creating a newly inherited GdScript fileJulien Nguyen
2021-08-09Merge pull request #51446 from nekomatata/fix-moving-platform-rotationRémi Verschelde
Fix applied rotation from moving platforms in move_and_slide
2021-08-09Merge pull request #51294 from aaronfranke/double-timeRémi Verschelde
2021-08-09Fix applied rotation from moving platforms in move_and_slidePouleyKetchoupp
When synchronizing CharacterBody motion with moving the platform using direct body state, only the linear velocity was taken into account. This change exposes velocity at local point in direct body state and uses it in move_and_slide to get the proper velocity that includes rotations.
2021-08-09Use doubles for time in many other placesAaron Franke
2021-08-09Use doubles for time in animation codeAaron Franke
2021-08-09Merge pull request #49753 from aaronfranke/render-server-floatsRémi Verschelde
Handle both 32-bit and 64-bit floats for tangents and weights in RenderingServer
2021-08-09Merge pull request #45568 from aaronfranke/node3d-real_tRémi Verschelde
Use real_t in 3D nodes
2021-08-09Merge pull request #51097 from Faless/mp/4.x_spawnableFabio Alessandrelli
[Net] MultiplayerAPI remote scene spawning/despawning.
2021-08-09Merge pull request #51441 from CaptainProton42/CaptainProton42-prism-mesh-iconRémi Verschelde
Change PrismMesh editor icon to look like a prism.
2021-08-09Change PrismMesh editor icon to look like a prism.John Wigg
2021-08-09Clamp negative colors regardless of the tonemapper to avoid artifactsHugo Locurcio
Color artifacts could be visible when using negative lights with the Filmic and ACES tonemapping operators, as these did not clamp negative colors.
2021-08-09Merge pull request #43158 from nathanfranke/fix-gradient-and-draw-tileRémi Verschelde
Fix Gradient and Color Picker checkerboard, Fix tile parameter for CanvasItem.draw_texture_rect
2021-08-09[Net] Basic extensible MultiplayerAPI spawn/despawn.Fabio Alessandrelli
`PackedScene`s can be configured to be spawnable via a new `MultiplayerAPI.spawnable_config` method. They can be configured either to be spawned automatically when coming from the server or to always require verification. Another method, `MultiplayerAPI.send_spawn` lets you request a spawn on the remote peers. When a peer receive a spawn request: - If it comes from the server and the scene is configured as `SPAWN_MODE_SERVER`: - Spawn the scene (instantiate it, add it to tree). - Emit signal `network_spawn`. - Else: - Emit signal `network_spawn_request`. In a similar way, `despawn`s are handled automatically in `SPAWN_MODE_SERVER`. In `SPAWN_MODE_SERVER`, when a new client connects it will also receive, from the server all the spawned (and not yet despawned) instances.
2021-08-09[Core] Expose ResourceLoader.get_resource_uid.Fabio Alessandrelli
2021-08-09Merge pull request #51427 from omar-polo/platform-detect-openbsdRémi Verschelde
automatically detect openbsd as platform=linuxbsd
2021-08-09automatically detect BSDs as platform=linuxbsdOmar Polo
2021-08-09Merge pull request #51431 from Chaosus/vs_cosmeticYuri Roubinsky
Added small offset to the content of nodes in VisualShader
2021-08-09FileAccessWindows: Cosmetic improvementsMax Hilbrunner
2021-08-09Fix Windows platform file accessMax Hilbrunner
This restores Windows platform file handling back to open files non-exlusively by default, as was the case before October 2018. (See https://github.com/godotengine/godot/commit/b902a2f2a7438810cdcb053568ed5c27089b1e8a) Back then, while fixing warnings for MSVC, the function used for opening files was changed from _wfopen() to _wfopen_s() as suggsted by the warning C4996. ("This function may be unsafe, consider using _wfopen_s instead.") This new function 1. did parameter validation and thus avoided some possible security issues due to nil pointers or wrongly terminated strings 2. it also changed the default file sharing for opened files from _SH_DENYNO (which was the implicit default for the previous _wfopen()) to _SH_SECURE. _SH_DENYNO means every opened file could be opened by other calls (like is the default on other operating systems). _SH_SECURE means if the file is opened with READ access, others can still read the same file, but if it is opened with WRITE access, others can't open it at all, not even to read. This led to rarely occuring bugs on Windows, i.e. due to random access by Antivirus processes, or Godot/Windows not closing a file handle fast enough while trying to open it again elsewhere (i.e. project.godot, instead showing the Project manager, or saving shaders/debugging the game). What this PR does it change the file access to a third method, _wfsopen(). This is still secure, doing parameter validation and thus avoids the warning, but it allows us to actually SET the file sharing parameter. And we set it to _SH_DENYNO, as it was implicitely before the change. (And as it currently is on all non-Windows platforms, where file sharing restrictions don't exist by default.) Warning C4996 should really have been pointing this out. It should've been _wfsopen() all along. Let's hope this banishes those annoying, rare errors for all eternity. Fixes #28036.
2021-08-09Added small offset to the content of nodes in VisualShaderYuri Roubinsky
2021-08-09Merge pull request #51422 from Chaosus/shader_dialog_fixesYuri Roubinsky
Fix some bugs in shader creation dialog (continue)
2021-08-09Fix some bugs in shader creation dialog (continue)Yuri Roubinsky
2021-08-09Merge pull request #51338 from V-Sekai/gltf-lightsRémi Verschelde
Continue when glTF2 lights fail to parse.
2021-08-09Merge pull request #51420 from Chaosus/shader_dialog_fixed_typoRémi Verschelde
[WIP] Fix some bugs in shader creation dialog
2021-08-09Merge pull request #51180 from RandomShaper/native_script_inheritsRémi Verschelde
Implement inherits_script() for NativeScript and PluginScript
2021-08-09Continue when glTF2 lights fail to parse.K. S. Ernest (iFire) Lee
2021-08-09Fix some bugs in shader creation dialogYuri Roubinsky
2021-08-09Merge pull request #51155 from Chaosus/shader_fix_specular_modeRémi Verschelde
Fix a default shader specular render mode to `SCHLICK_GGX`
2021-08-09Merge pull request #51412 from YeldhamDev/property_track_descRémi Verschelde
Make property description in the animation editor actually show it