reduz
84d734da0e
Refactored 2D shader and lighting system
...
-Removed normal/specular properties from nodes
-Create CanvasTexture, which can contain normal/specular channels
-Refactored, optimized and simplified 2D shaders
-Use atlas for light textures.
-Use a shadow atlas for shadow textures.
-Use both items aboves to make light rendering stateless (faster).
-Reorganized uniform sets for more efficiency.
2020-10-24 15:57:25 -03:00
Juan Linietsky
85ebf40b6c
Merge pull request #38097 from Calinou/add-viewport-debanding
...
Add a debanding property to Viewport
2020-10-19 14:15:44 -03:00
reduz
ee06a70ea6
Refactor MethodBind to use variadic templates
...
Removed make_binders and the old style generated binders.
2020-10-18 12:28:44 +02:00
PouleyKetchoupp
4686200f0e
Fix Popup crash in single window mode
...
focus_target->exclusive_child could be invalidated during the call to
focus_target->grab_focus(), now using the same logic with safe accesses
to focus_target.
2020-10-09 11:20:38 +02:00
Duroxxigar
4834e14493
Updated getters and setters names for toplevel
2020-10-02 19:09:01 -04:00
Rémi Verschelde
19f72beebb
Merge pull request #42451 from Duroxxigar/rename-toplevel
...
Renamed toplevel to be top_level
2020-10-02 10:57:23 +02:00
Rémi Verschelde
12091b39d2
Merge pull request #38743 from arrowinaknee/node-config-warnings
...
Update all get_configuration_warning() to retrieve warnings from the parent
2020-10-01 14:03:29 +02:00
Duroxxigar
b687ace7f9
Renamed toplevel to be top_level
2020-10-01 03:17:33 -04:00
Duroxxigar
85a8dbb7b6
Made toplevel a property for Node3D and CanvasItem
2020-10-01 02:43:30 -04:00
Rémi Verschelde
c217498aa6
Merge pull request #41895 from 11thPenguin/master
...
Fix minor typo, gui_hid -> gui_hide
2020-09-29 10:35:12 +02:00
Rémi Verschelde
7f24914b9e
Merge pull request #36374 from kuruk-mm/tilemap_filter_set_and_update
...
TileMap: Set texture_filter and texture_repeat to generated CanvasItems...
2020-09-15 17:15:09 +02:00
Rémi Verschelde
6f0fa8519f
Merge pull request #41776 from EricEzaM/PR/tooltip-bugfixes
...
Tooltip flickering and targeting fixes.
2020-09-15 10:24:17 +02:00
Eric M
07cb95bbda
Tooltip flickering and targeting fixes.
2020-09-15 17:34:29 +10:00
Mateo Dev .59
bb7db2138b
TileMap: Set texture_filter and texture_repeat to generated CanvasItems and update when it changes
2020-09-12 11:49:38 -03:00
Rémi Verschelde
a2a78a8066
doc: Sync classref with current source
...
Bind missing enums.
2020-09-11 12:22:10 +02:00
Yetizone
d12ddf6567
scene_tree.h: Update header guard
2020-09-10 17:20:50 +03:00
Jonah Stich
f6b14238c7
Fixed minor typo, gui_hid -> gui_hide.
2020-09-08 18:08:21 -07:00
Fabio Alessandrelli
2cb6b2ac6f
Merge pull request #38944 from Wavesonics/http-gzip
...
HttpRequest now handles gzipping response bodies
2020-09-07 17:03:19 +02:00
bruvzg
80b8eff6aa
[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.
2020-09-03 19:56:24 +03:00
Rémi Verschelde
2a8531cc56
Merge pull request #41456 from nekomatata/x11-fix-popups
...
Popup fixes for X11 display server
2020-09-03 00:09:19 +02:00
Adam Brown
6584db1538
HTTPRequest now accepts gzip
...
Added request_raw to HttpRequest
Added decompress_dynamic to Compression class
Added decompress_dynamic to BytePoolArray
Merge doc fix
revert
2020-09-02 12:59:59 -07:00
SekoiaTree
bdf614d3d7
Made get_child support negative indexes, with documentation
2020-09-01 11:34:36 +02:00
PouleyKetchoupp
bb306750ce
Fix WINDOW_EVENT_FOCUS_IN for popups on Windows
...
On Windows, WINDOW_EVENT_FOCUS_IN was never sent by the display server
for popups, because WM_ACTIVATE events are received during the call to
_update_window_style, which happened before the callbacks were set.
This was causing some issues with the way Popup is now handling closing on
parent focus.
Now _update_window_style is only called during show_window, after Window
initialized callbacks.
2020-08-26 18:14:36 +02:00
PouleyKetchoupp
2b49cb0b73
Re-apply "Fixes for windows in X11 tiling WMs"
...
From PR #38727 which was reverted in #41373 because of regressions in Ubuntu
with Gnome.
Co-authored-by: Lorenzo Cerqua <lorenzocerqua@tutanota.com>
2020-08-22 18:42:42 +02:00
Juan Linietsky
9c5c1635b2
Revert "Fixes for windows in X11 tiling WMs"
2020-08-19 12:37:59 -03:00
Hugo Locurcio
8891579068
Add a debanding property to Viewport
...
It can be enabled in the Project Settings
(`rendering/quality/screen_filters/use_debanding`). It's disabled
by default as it has a small performance impact and can make
PNG screenshots much larger (due to how dithering works).
It will also slightly brighten the scene's dark areas.
As a result, it should be enabled only when banding is noticeable enough.
This closes #17006 .
2020-08-14 23:12:33 +02:00
Tomasz Chabora
677796a2c3
Expose NOTIFICATION_POST_ENTER_TREE
2020-08-12 13:31:32 +02:00
George Marques
b8671b61fc
Fix _input being mistakenly called twice on script
...
Instead it calls both the script and the native method.
2020-08-03 08:40:08 -03:00
opl-
48d55e46d0
Fix window max_size acting as min_size
2020-07-31 17:38:34 +02:00
George Marques
5cbd032309
Fix input after removing multilevel calls
2020-07-27 15:23:57 -03:00
Rémi Verschelde
d7e00a20a6
Merge pull request #40724 from KoBeWi/weird_condition_ 🤔
...
Fix ultra long node names
2020-07-26 21:58:06 +02:00
Rémi Verschelde
3842e8c465
Merge pull request #38727 from Riteo/tiling-wm-issues-tests
...
Fixes for windows in X11 tiling WMs
2020-07-26 17:41:28 +02:00
Tomasz Chabora
d3f2062d86
Fix ultra long node names
2020-07-26 15:29:50 +02:00
George Marques
2b9d9bc364
Remove multilevel calls
...
In general they are more confusing to users because they expect
inheritance to fully override parent methods. This behavior can be
enabled by script writers using a simple super() call.
2020-07-24 14:13:58 -03:00
Lorenzo Cerqua
d670a49612
DisplayServer: separate window showing into another function
...
When creating a window, Godot would first register it to the WM(show it) and then set its flags.
This works fine on a floating WM, but on tiling WMs as soon as a window gets registered
the WM immediately acts on the window by scaling it up and treating it as a generic window,
being registered without any special flags.
This commit separates the showing of the window into another function and calls it after the most important flags are set,
making windows with special flags(eg. all popups) work again on tiling WMs.
Fixes #37930
2020-07-23 07:58:10 +02:00
Marcel Admiraal
26fcf2b04c
Add override keywords.
2020-07-10 13:56:54 +01:00
bruvzg
9ffc1c19ad
Fix exclusive child focus grab, when there are more than two child windows.
2020-07-09 11:18:56 +03:00
bruvzg
df968d577a
[macOS] Implement seamless display scaling.
2020-07-04 10:36:33 +03:00
Rémi Verschelde
eeb61ec896
Merge pull request #40071 from reduz/fix-content-scale
...
Fix content scale mode, closes #37941
2020-07-03 07:50:50 +02:00
Juan Linietsky
ac7e9479ce
Fix content scale mode, closes #37941
2020-07-02 17:16:13 -03:00
Juan Linietsky
d3adc53ad9
Ensure cursor shape changes when exiting window, fixes #37724
2020-07-02 14:17:46 -03:00
Rémi Verschelde
afe03e872b
Merge pull request #34926 from Xrayez/draw-transform-defaults
...
Provide `draw_set_transform` defaults for rotation and scale
2020-07-02 09:06:06 +02:00
Rémi Verschelde
0636e2a877
Merge pull request #40020 from reduz/fix-tree-edit-focus
...
Fix doubleclick on tree item, restore input focus on previous windows.
2020-07-02 07:26:13 +02:00
Juan Linietsky
39a77735bd
Add ability to clamp embedded subwindows to parent, fixes #37792
2020-07-01 12:49:35 -03:00
Juan Linietsky
058166fb6c
Fix doubleclick on tree item, restore input focus on previous windows.
...
Closes #37335
2020-07-01 12:46:39 -03:00
Andrii Doroshenko (Xrayez)
851c1050b2
Provide `draw_set_transform` defaults for rotation and scale
2020-07-01 18:09:11 +03:00
Juan Linietsky
239942cfef
Ensure embedded mode works again
...
Also implemented application in/out notifications in X11.
2020-07-01 09:27:43 -03:00
Juan Linietsky
b19ab945ac
Make dialogs exclusive by default, fixes #37732
...
Also fix on set_visible, not creating exclusive children as it should.
2020-06-30 14:02:37 -03:00
Juan Linietsky
438c380458
Add a separate application focus/in notification out from Window focus notification.
2020-06-30 10:40:06 -03:00
Juan Linietsky
201d606b3d
Addition of SDFGI for open world global illumination
...
Move GI to a deferred pass
2020-06-26 11:06:48 -03:00