Commit graph

32988 commits

Author SHA1 Message Date
Rémi Verschelde
3a3af0279b
Merge pull request #45658 from RandomShaper/fix_frozen_peak
Make audio bus channels' peak volume consistent
2021-02-03 10:05:34 +01:00
Rémi Verschelde
0f327f0d65
Merge pull request #45678 from clayjohn/VULKAN-physical-sky
Add check for sun in PhysicalSky
2021-02-03 09:31:53 +01:00
clayjohn
814b41fef1 Add check for sun in PhysicalSky 2021-02-02 23:06:42 -08:00
Rémi Verschelde
6ae97bfdda
Merge pull request #45669 from MrMinimal/master
Fix swapped front/rear view
2021-02-02 23:40:58 +01:00
Rémi Verschelde
3cecf11bb6
Merge pull request #45670 from Faless/js/4.x_canvas_id_fix
[HTML5] Fix mouse_mode and fullscreen detection.
2021-02-02 22:53:00 +01:00
Rémi Verschelde
0e3fb44d4e
Merge pull request #42394 from aaronfranke/editor-dotgodot
Move project-specific editor data into res://.godot/editor
2021-02-02 22:19:43 +01:00
Rémi Verschelde
cc95e2c6a6
Merge pull request #45593 from lyuma/audio_effect_capture
Add AudioEffectCapture
2021-02-02 22:14:58 +01:00
Rémi Verschelde
b37534902e
Merge pull request #45662 from akien-mga/main-fix-l10n-remapping
Main: Load translations and remaps before scene types
2021-02-02 22:05:15 +01:00
Rémi Verschelde
235d891e00
Merge pull request #45653 from migueldeicaza/patch-1
C conformance: Replace "bool" as the base definition for boolean with char
2021-02-02 22:04:39 +01:00
Hugo Locurcio
c5f0db45df
Improve the File.endian_swap documentation 2021-02-02 21:59:55 +01:00
Aaron Franke
ee798c4f49
Move project-specific editor data into res://.godot/editor 2021-02-02 14:14:37 -05:00
Fabio Alessandrelli
97288f25f4 [HTML5] Fix mouse_mode and fullscreen detection.
The canvas_id is `#`-prefixed to work with emscripten as a CSS selector.
When comparing to an event target ID (e.g. when checking if the canvas
is fullscreen, or is locking the mouse) we need to skip the first char
(the hash).
2021-02-02 20:08:51 +01:00
Tom Langwaldt
f995d6cd17
Fix swapped front/rear view 2021-02-02 19:44:38 +01:00
Hugo Locurcio
95fda7e881
Document that GridMap doesn't support visual layers or cull masks
See #40245.
2021-02-02 19:30:55 +01:00
Lyuma
d800329d16 Add AudioEffectCapture
AudioEffectCapture allows access to the microphone and other audio on an audio bus in real-time.

Co-Authored-By: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2021-02-02 09:22:16 -08:00
Miguel de Icaza
f02252e37d C conformance: Include stdbool.h to define bool
`bool` is otherwise not defined in C.
2021-02-02 18:11:00 +01:00
Rémi Verschelde
9e0bdeb5de
Merge pull request #45665 from naithar/fix/ios-plugin-initialization-4.0
[4.0] [iOS] Earlier plugin initialization
2021-02-02 17:30:20 +01:00
Rémi Verschelde
9620c1ce61
Merge pull request #45659 from Chaosus/vs_fix_preview
Fix port previews for uniforms in visual shaders
2021-02-02 16:58:11 +01:00
Rémi Verschelde
bb5dcb6892
Main: Load translations and remaps before scene types
This ensures that settings like `gui/theme/custom_font` handle resource
remappings properly, as they load resources in `register_scene_types()`.

Path remaps used to be done before loading scene types in early Godot
versions (as hinted by the "Load Remaps" comment just before "Load Scene
Types") but this was broken when developing new localization features.

Fixes #17640.
2021-02-02 15:17:49 +01:00
Rémi Verschelde
ea1e26f312
Merge pull request #45648 from Kanabenki/check-project-manager-dirs
Check default project and autoscan directories exist on project manager startup
2021-02-02 13:12:12 +01:00
Kanabenki
58be3c069a Check default project and autoscan directories exist on project manager startup 2021-02-02 12:55:11 +01:00
Rémi Verschelde
cb04457871
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@dalexeev, @dsnopek, @HaSa1002

Thanks to all contributors and donors for making Godot possible!
2021-02-02 12:38:27 +01:00
Yuri Roubinsky
ee3b51250a Fix port previews for uniforms in visual shaders 2021-02-02 13:41:05 +03:00
Pedro J. Estébanez
a2b3a73e2d Make audio bus channels' peak volume consistent
Channels that are inactive -or when playback has not started yet- will report -200 dB as their peak value (which is also the lowest value possible during playback).
2021-02-02 11:30:32 +01:00
Rémi Verschelde
ae6b2d6edc
Merge pull request #45657 from bruvzg/fix_macos_mkv_crash
Fix macOS Vulkan debug label crash.
2021-02-02 11:26:52 +01:00
bruvzg
7be7e87ff3
Always init DEBUG_UTILS_MESSENGER_CREATE_INFO structure if DEBUG_UTILS functions are used. Add temporary variables to fix potential use-after-free. 2021-02-02 11:27:47 +02:00
Rémi Verschelde
122a27523d
Merge pull request #45030 from aaronfranke/color-str-construct
Replace ColorN and from HTML with a string constructor
2021-02-02 09:49:35 +01:00
Aaron Franke
f55445079a
Replace ColorN and from HTML with a string constructor 2021-02-01 17:27:19 -05:00
Rémi Verschelde
b24c24f64b
Merge pull request #45594 from JFonS/improve_3d_grid
3D editor grid improvements
2021-02-01 23:18:24 +01:00
Rémi Verschelde
2d897d12c1
Merge pull request #45646 from qarmin/trashy_value
Don't use trashy max_decals value to prevent crashes
2021-02-01 22:57:56 +01:00
jfons
73e62dffb9 3D editor grid improvements
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.

I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.
2021-02-01 22:19:54 +01:00
Rafał Mikrut
0c3febca06 Don't use trashy max_decals value to prevent crashes 2021-02-01 21:43:08 +01:00
Rémi Verschelde
d2e1216504
Merge pull request #37547 from aaronfranke/tau
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01 20:55:25 +01:00
Rémi Verschelde
264504d76d
Merge pull request #45110 from fmazan/completion-panel-positioning
Fixed completion and hint panel positioning in TextExit
2021-02-01 20:50:17 +01:00
Rémi Verschelde
13c0e48791
Merge pull request #45137 from Calinou/doc-control-gallery
Reference the control gallery image in the Control class documentation
2021-02-01 20:49:30 +01:00
Rémi Verschelde
c4811ab525
Merge pull request #45549 from flyingpimonster/graphnode-icon
GraphNode: Add properties for custom icons
2021-02-01 20:49:19 +01:00
Rémi Verschelde
35a8d0c8ff
Merge pull request #45561 from Calinou/fix-export-no-tmpdir
Create the temporary PCK export directory if it doesn't exist
2021-02-01 20:48:56 +01:00
Rémi Verschelde
3375647818
Merge pull request #45564 from aaronfranke/physics-nodes-real_t
Use real_t in physics nodes
2021-02-01 20:48:16 +01:00
Rémi Verschelde
2d134b6ddd
Merge pull request #45596 from Calinou/editor-add-viewport-resolution
Add viewport resolution to the 3D editor's View Information pane
2021-02-01 20:43:34 +01:00
Rémi Verschelde
0db77315fe
Merge pull request #45608 from bruvzg/font_int_coords
Use integer coordinates for the font glyphs rendering.
2021-02-01 20:42:52 +01:00
Rémi Verschelde
46a2cc6141
Merge pull request #45642 from Calinou/project-manager-increase-folder-button-visibility
Make the Open Project Folder button more visible in the project manager
2021-02-01 20:42:15 +01:00
Rémi Verschelde
74091a1974
Merge pull request #45579 from zaevi/add_scons_ext
add search extensions for Scons' path
2021-02-01 20:41:25 +01:00
Rémi Verschelde
c4a801cdbf
Merge pull request #45604 from nemerle/node_replace_by_dead_code_removal
Node::replace_by is not copying node properties, removed the dead code
2021-02-01 20:24:19 +01:00
Rémi Verschelde
1db16f08d3
Merge pull request #45634 from Calinou/fix-scons-compilation-db-comment
Fix incorrect version requirement in the SCons compilation DB comment
2021-02-01 20:23:59 +01:00
Hugo Locurcio
04cbfbe6b2
Make the Open Project Folder button more visible in the project manager
This closes https://github.com/godotengine/godot-proposals/issues/619.
2021-02-01 20:04:01 +01:00
Hugo Locurcio
9479bfe5f5
Fix incorrect version requirement in the SCons compilation DB comment 2021-02-01 17:09:42 +01:00
nemerle
022c2952fc Node::replace_by was not copying node properties - removed the dead code.
The code to copy node properties to the new node never worked, so there is no reason to keep the useless bits in there
2021-02-01 16:47:27 +01:00
Rémi Verschelde
0f4e2cd40c
Merge pull request #45630 from akien-mga/linux-enable-udev
Linux: Enable udev support by default
2021-02-01 16:00:34 +01:00
Rémi Verschelde
8b946066bb
Merge pull request #45620 from nathanfranke/improve-editor-inspecter
Simplify Script Variables Population
2021-02-01 15:28:26 +01:00
Rémi Verschelde
621b4e433e
Merge pull request #45629 from akien-mga/linux-static-cpp
Linux: Build with use_static_cpp=yes by default
2021-02-01 15:17:00 +01:00