32e9927ac8
Ported from godot 4: Remove NOTIFICATION_MOVED_IN_PARENT
...
* This notification makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal).
* Changed Canvas code (and similar) to use the above signal, to perform more efficiently.
This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
It is required for the changes in #75627 to be entirely effective.
- reduz
Note that I removed NOTIFICATION_MOVED_IN_PARENT, as keeping it, but making it just not work is worse in my opinion.
104392ef4e
2023-04-10 15:55:34 +02:00
7d2667830d
Ported from godot 4: Fix Viewport root order after Node2D raise
...
- Sauermann
022d24a9ae
2023-04-10 11:42:15 +02:00
15bf4aefd0
Ported: Rework how current Camera2D is determined
...
7e2a8afb57
- KoBeWi
and
Fix Camera2D crashes
724d6581d6
- KoBeWi
From godot4.
Also fixed issues with active Camera2D switching.
2023-03-04 21:29:49 +01:00
8c9d7bc567
Ported: Set touch input as handled only after _gui_call_input - necrashter
...
147de75e52
2023-01-16 14:46:29 +01:00
2cd4e4d828
Renamed Set to RBSet.
2023-01-15 19:42:08 +01:00
1b0aac6028
Renamed Map to RBMap.
2023-01-15 19:12:50 +01:00
ce5e82d910
Ported: Include the follow-viewport-transform into CanvasLayer transform calculations
...
The follow-viewport-transform was missing from several calculations
3.x version of #59682
- Sauermann
608cbd8296
2022-12-22 19:06:10 +01:00
c7809991b2
Fixed an another issue with touch gui input handling.
2022-12-12 18:30:35 +01:00
37961b1990
Fix regression in touch input handling.
2022-12-12 14:26:54 +01:00
Fredia Huya-Kouadio
4759ad6517
Fix the logic used to route InputEventScreenDrag
events to Control
nodes.
2022-12-11 18:30:58 +01:00
kobewi
b5b6d14d37
Fix Viewport size change not updating textures
...
(cherry picked from commit 3a4a4aeadec36324da394238cf0f86dbac345e93)
2022-09-16 23:13:40 +02:00
6a317fbe15
Fix build.
2022-09-16 22:42:11 +02:00
Atlinx
561aab3227
Remove HDR warning if on low end
2022-09-16 22:34:05 +02:00
Michael Alexsander
bce30062a5
Fix some corner cases in the Menu/OptionButton
item auto-highlight
2022-09-16 22:04:23 +02:00
Yuri Sizov
211cd1e46a
Remove Inspector tooltip hack that never actually worked
2022-09-16 21:57:00 +02:00
9bdb8b6bce
Now only one override is allowed per World, as there is really no reason to have support for more than one per world pair. This fixes lots of issues with the system.
2022-08-30 15:47:22 +02:00
66f2357d01
Now Cameras use Worlds directly instead of Viewports.
2022-08-30 14:08:27 +02:00
9b3714a274
Now CanvasItems work with World overrides aswell.
2022-08-30 01:40:03 +02:00
4303dfb5c0
More work on World override support.
2022-08-29 22:55:48 +02:00
49af677ca8
Work on the ability for overriding Worlds.
2022-08-29 20:56:17 +02:00
68b21dc61f
Move World2D and World3D related things to World from Viewport.
2022-08-29 19:40:17 +02:00
b886d14cf5
Added _3d postfix to the end of the World3D related getters and setters in Viewport.
2022-08-29 17:54:41 +02:00
24a1580dbf
Renamed the files aswell.
2022-08-29 17:33:10 +02:00
e4ae7f2ebc
Renamed Environment to Environment3D, and WorldEnvironment to WorldEnvironment3D.
2022-08-29 17:21:40 +02:00
2aee6ab0bb
Renamed World to World3D.
2022-08-29 16:49:00 +02:00
cffe742085
Renamed the VisualServer to RenderringServer like in Godot4, as I think it's a lot better name for it. I did not yet rename the files.
2022-08-19 20:50:20 +02:00
1b503ad711
Revert "Fix mouse_over not dropped when mouse leaves window"
...
This reverts commit 33a2d5e20b
.
2022-08-19 02:48:36 +02:00
Marcel Admiraal
33a2d5e20b
Fix mouse_over not dropped when mouse leaves window
2022-08-19 02:20:03 +02:00
4c4e19223e
Added _theme_ infix to the theme helper methods in Control.
2022-08-17 20:57:16 +02:00
99e94b08c4
Moved base input related classes to core/input.
2022-08-17 17:02:24 +02:00
04feb63860
Moved Engine and projectSettings.
2022-08-17 15:35:28 +02:00
e4cad690a3
Renamed elements in Transform2D to columns.
2022-08-14 15:37:05 +02:00
47358bfaab
Backported: add viewport.get_camera_2d()
...
* there is now a more clear distinction between camera_2d and camera_3d functions in the engine code
* simplified camera2d's exported interface - now everything happens directly with the 'current' variable and make_current and clear_current are no longer exposed- there were some situations where calling one instead of set_current would result in incomplete results
* rebased to current godot master
- verdog
879f84d8f8
- Note that i did not rename the original Camera related methods.
2022-08-12 18:29:04 +02:00
Hugo Locurcio
0e32de0bad
Clamp Viewport shadow atlas sizes to improve usability
...
- Add a range hint to the Viewport `shadow_atlas_size` property.
- Add range steps to the shadow resolution project settings that
match the lowest allowed values (since lower increments don't
make sense).
2022-07-29 17:38:06 +02:00
328da6b799
Ported: Print a warning for Viewports that have 2D usage and HDR enabled
...
2D usage + HDR isn't supported, so the usage must be changed to 3D
to be able to use HDR.
- Calinou
f64d5f4095
2022-07-29 17:36:54 +02:00
Haoyu Qiu
8002080311
Fix Viewport.own_world
documentation
...
Also fixed the naming of the setter's parameter and made an `if` block
straightforward.
2022-07-28 13:44:56 +02:00
a43091d427
Ported: Add drag and drop to TextEdit, LineEdit, RichTextLabel - ConteZero
...
4167e98088
2022-07-25 20:32:14 +02:00
b74c00ea65
Backported the 3.x android editor port pr by m4gr3d and thebestnom. (Godot pr 57747).
2022-03-22 19:35:57 +01:00
4d7df62b8e
Clang format all files.
2022-03-18 19:00:13 +01:00
3965d70ac5
Moved more includes to cpp files.
2022-03-17 19:35:23 +01:00
2c88c46101
Moved more includes to cpp files.
2022-03-17 11:28:57 +01:00
ced4ae75a5
Backported:
...
6c2bd12031
c2c0c8067d
62fa80afd7
fd968157a4
c0bd05762e
72837b8ecd
From godot.
2022-03-16 18:18:23 +01:00
e85cef1745
Run godot's formatting script.
2022-03-16 09:02:48 +01:00
23c332974a
Removed the arvr server.
2022-03-16 02:39:55 +01:00
49f8e8c398
Added godot with all my currently used engine modules.
2022-03-15 13:29:32 +01:00