272ae15993
Now tooltips won't get scaled to their original control's scale anymore by default. Added a new gui_scale_tooltips property to Viewport to be able to use the previous behaviour when it's desired.
2024-03-13 16:55:47 +01:00
5133ef182d
File copyright header updates pt10.
2023-12-18 00:31:04 +01:00
88e9ad04f2
Moved back the servers and resources from core.
2023-12-10 23:11:07 +01:00
238bf1b331
Moved the RenderingServer to core.
2023-12-10 19:04:24 +01:00
9a2bf73280
Backported _shortcut_input() virtual from godot4.
2023-09-07 09:56:16 +02:00
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
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
Fredia Huya-Kouadio
4759ad6517
Fix the logic used to route InputEventScreenDrag
events to Control
nodes.
2022-12-11 18:30:58 +01: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
f44f9f5c13
Reordered Viewport.
2022-08-29 18:47:49 +02:00
aba4e9db3c
Added a new World class and made Viewport inherit from it.
2022-08-29 18:40:38 +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
2aee6ab0bb
Renamed World to World3D.
2022-08-29 16:49:00 +02:00
e2d42db711
Also renamed the files.
2022-08-19 21:24:36 +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
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
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
f8e54698e4
Include cleanups for resources.
2022-03-18 18:48:49 +01:00
8fbdcd18f9
Same change to classes under scene.
2022-03-17 22:57:56 +01:00
3965d70ac5
Moved more includes to cpp files.
2022-03-17 19:35:23 +01:00
ced4ae75a5
Backported:
...
6c2bd12031
c2c0c8067d
62fa80afd7
fd968157a4
c0bd05762e
72837b8ecd
From godot.
2022-03-16 18:18:23 +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