Commit Graph

32789 Commits

Author SHA1 Message Date
Rafał Mikrut
7961a1dea3 Initialize class variables with default values in scene/ [2/2] 2021-02-09 18:24:36 +01:00
Rémi Verschelde
df9c98e107
Merge pull request #45812 from RandomShaper/keep_selected_visible
Keep selected node visible after filter change
2021-02-09 10:43:21 +01:00
Rémi Verschelde
e9bc984bef
Merge pull request #45736 from kleonc/string_ends_with
Make String::ends_with don't use String::rfind
2021-02-09 09:23:55 +01:00
kleonc
ad0943e3d3 Make String::ends_with don't use String::rfind 2021-02-09 00:31:28 +01:00
Rémi Verschelde
5f23fcf847
Merge pull request #45713 from KoBeWi/1000_unmasked
Make Rect2 properties show in 2x2 layout
2021-02-08 22:30:23 +01:00
Rémi Verschelde
59924a09e8
Merge pull request #45806 from KoBeWi/forest_of_deselection
Set selected Tree item to null when deselected
2021-02-08 22:22:52 +01:00
Rémi Verschelde
74be478895
Merge pull request #45774 from revilo/fix-45694
Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED …
2021-02-08 21:32:49 +01:00
Rémi Verschelde
68b7652098
Merge pull request #45836 from Kanabenki/update-color-picker
Update ColorPicker controls when entering tree
2021-02-08 21:31:28 +01:00
Rémi Verschelde
6673c914bb
Merge pull request #45775 from RandomShaper/pause_aware_picking
Implement pause-aware picking
2021-02-08 21:25:31 +01:00
Kanabenki
03d4ebf129 Update ColorPicker controls when entering tree 2021-02-08 19:25:50 +01:00
Rémi Verschelde
6de91c87b1
Merge pull request #45827 from akien-mga/sync-gamecontrollerdb
Sync controller mappings DB with SDL2 community repo
2021-02-08 16:26:12 +01:00
Rémi Verschelde
5eb46ab616
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@f72b68b8b0.

Partial revert of #45790.
2021-02-08 16:16:29 +01:00
Rémi Verschelde
1c98945165
Merge pull request #45825 from BastiaanOlij/windows_debugger_flags
Use /Zi and /FS for including debugger symbols on Windows with MSVC
2021-02-08 16:00:29 +01:00
Rémi Verschelde
c05d205a5c
Merge pull request #43057 from Xrayez/custom_modules_recursive
SCons: Add an option to detect C++ modules recursively
2021-02-08 16:00:03 +01:00
Bastiaan Olij
4946ae16fc Use /Zi and /FS for including debugger symbols on Windows with MSVC 2021-02-09 00:20:42 +11:00
Rémi Verschelde
c31bceb5f5
Merge pull request #45797 from madmiraal/add-new-sdl-keywords
Add support for new SDL gamecontroller keywords.
2021-02-08 13:47:01 +01:00
Rémi Verschelde
e2a80a4be3
Merge pull request #43245 from HaSa1002/docs-object
Docs: Object: Use new signal syntax and port to C#
2021-02-08 12:53:44 +01:00
Rémi Verschelde
9b623635c8
doc: Sync classref with current source 2021-02-08 12:34:28 +01:00
Rémi Verschelde
332a33503b
Merge pull request #43952 from qarmin/cppcheck_modules
Initialize class/struct variables with default values in modules/
2021-02-08 11:53:02 +01:00
Rafał Mikrut
f7209b459b Initialize class/struct variables with default values in modules/ 2021-02-08 10:57:18 +01:00
Rémi Verschelde
5260b6e046
Merge pull request #45818 from akien-mga/debug_symbols-bool
SCons: Fix debug_symbols tests after switch to BoolVariable
2021-02-08 09:59:28 +01:00
Rémi Verschelde
cea42faa77
Merge pull request #44630 from qarmin/cppcheck_scene_1
Initialize class variables with default values in scene/ [1/2]
2021-02-08 09:31:08 +01:00
Rémi Verschelde
849c090343
SCons: Fix debug_symbols tests after switch to BoolVariable
Bug introduced in #45679.

Fixes part of #45816.
2021-02-08 08:53:16 +01:00
Pedro J. Estébanez
ef062b1c37 Keep selected node visible after filter change
(Implemented both for the local and remote scene tree docks.)
2021-02-08 02:19:14 +01:00
Pedro J. Estébanez
177b804f30 Expose Tree::scroll_to_item() 2021-02-08 02:19:13 +01:00
Rafał Mikrut
003bb8e1a8 Initialize class variables with default values in scene/ [1/2] 2021-02-07 22:29:31 +01:00
Rémi Verschelde
57e2822a05
Merge pull request #45805 from KoBeWi/dispatch_error_of_doom
Cancel event dispatch on error
2021-02-07 22:25:37 +01:00
kobewi
ef8ec59f2f Set selected Tree item to null when deselected
Co-authored-by: Brody Eller <wviper3@gmail.com>
2021-02-07 22:12:52 +01:00
Rémi Verschelde
57c03a432a
Merge pull request #45803 from qarmin/unitialized_vehicle
Fix nan errors when using VehicleBody
2021-02-07 21:59:53 +01:00
Rémi Verschelde
790c87fee4
Merge pull request #45794 from Calinou/doc-surfacetool-generate-normals
Improve the `SurfaceTool.generate_normals()` documentation
2021-02-07 21:57:01 +01:00
kobewi
b6e2ad0e7e Cancel event dispatch on error 2021-02-07 21:50:12 +01:00
Rafał Mikrut
1b8cbcf946 Fix nan errors when using VehicleBody 2021-02-07 21:08:09 +01:00
Rémi Verschelde
59125d689b
Merge pull request #45784 from revilo/fix-45770
Fix unnecessary scrolling in TextEdit
2021-02-07 20:35:03 +01:00
Rémi Verschelde
ce332859e9
Merge pull request #41308 from JFonS/fix_spotlight_attenuation
Invert spotlight angle attenuation
2021-02-07 20:33:14 +01:00
jfons
99e1ce0690 Invert spotlight angle attenuation
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-07 20:10:33 +01:00
Marcel Admiraal
3d479d086c Add support for new SDL gamecontroller keywords. 2021-02-07 16:09:32 +00:00
Hugo Locurcio
b8df8b1043
Improve the SurfaceTool.generate_normals() documentation 2021-02-07 16:11:17 +01:00
Rémi Verschelde
7bb7a3c4a7
Merge pull request #45790 from akien-mga/controllerdb-fixup
Fix issues in last GameControllerDB sync
2021-02-07 14:14:36 +01:00
Rémi Verschelde
7a60c45671
Merge pull request #45786 from reduz/fix-sdfgi-radeon
Fixed an SDFGI reflections bug in Radeon
2021-02-07 12:24:07 +01:00
Rémi Verschelde
4956d93ce6
Fix issues in last GameControllerDB sync
We don't support 'misc1' as an output string yet (seems used for PS5 controller).
Yet another broken CSV line with 'CO.,LTD'.
2021-02-07 11:47:40 +01:00
reduz
c4daf1c4ba Fixed a SDFGI reflections bug in Radeon
-Code was using too many conditionals.
-Rewrote it to use less and it now works fine.
2021-02-07 07:33:41 -03:00
Rémi Verschelde
5851f0ff3a
Merge pull request #45776 from Kanabenki/snap-visualscript-comment
Snap VisualScript comment to grid when resizing
2021-02-07 11:24:06 +01:00
Rémi Verschelde
40d1694e4e
Merge pull request #45787 from JFonS/fix_spotlight_volumetric_fog
Fix volumetric fog for SpotLights
2021-02-07 11:01:28 +01:00
jfons
9c6b081ab1 Fix volumetric fog for SpotLights
The code for spot lights was referencing the omni light list. Most
likely a copy-paste mistake :)
2021-02-07 03:38:09 +01:00
Pedro J. Estébanez
a63996ac95 Implement pause-aware picking
This changes the way 2D & 3D physics picking behaves in relation to pause:
- When pause is set, every collision object that is hovered or captured (3D only) is released from that condition, getting the relevant mouse-exit callback., unless its pause mode makes it immune from pause.
- During the pause. picking only considers collision objects immune from pause, sending input events and enter/exit callbacks to them as expected.
- When pause is left, nothing happens. This is a big difference with the classic behavior, which at this point would process all the input events that have been queued against the current state of the 2D/3D world (in other words, checking them against the current position of the objects instead of those at the time of the events).
2021-02-07 00:50:16 +01:00
Oliver Dick
8d598693fc TextEdit: When left mouse is pressed to place the cursor, do not immediately adjust the viewport when cursor_set_line is called, but afterwards on cursor_set_column (effectively when the cursor reached its final position)
Fixes #45770
2021-02-07 00:28:57 +01:00
Rémi Verschelde
58fc0f759b
Merge pull request #45780 from reduz/fix-sdfgi
Fix SDFGI bug after previous optimization.
2021-02-06 23:07:32 +01:00
reduz
d0cc899398 Fix SDFGI bug after previous optimization.
Was causing arctifacts, should be good now.
2021-02-06 18:49:10 -03:00
Kanabenki
07fb7f9888 Snap VisualScript comment to grid when resizing 2021-02-06 21:39:35 +01:00
Oliver Dick
f1432f2788 Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED (fixes invalid transform of collision shape in cases where the node is not supposed to enter the scene tree) 2021-02-06 20:17:01 +01:00