John Wigg
4a82390aaf
Limit undo stack size
...
The stack size of the undo history of a TextEdit was not limited leading
to potential memory leaks when doing lots of operations on a TextEdit.
This commit adds the option gui/common/text_edit_undo_stack_max_size
to the project settings. The first element of the undo stack is popped
if the stack's size exceeds this value ensuring limited memory usage.
The default stack size setting is 1024.
Fixes #37838 .
2020-04-29 11:31:01 +02:00
janglee
5e64c146bc
Fixed 0 width issue of rich text label
...
Fixes #37746
2020-04-13 14:59:38 +05:30
MickeMakaron
2edb59ec88
Handle huge offset values in Path2D and Path3D set_offset
2020-04-13 07:42:47 +02:00
Rémi Verschelde
06748a2b5f
Merge pull request #37749 from clayjohn/Vulkan-improved-ss
...
Add vogel filter and settings to soft shadows
2020-04-13 00:39:37 +02:00
Juan Linietsky
a57dc398db
Implement MSAA
2020-04-12 15:33:57 -03:00
Juan Linietsky
16ae2cc1bf
Add screen space AA option, with FXAA implementation.
2020-04-12 10:57:18 -03:00
clayjohn
621f6f09a8
Add proper quality settings to soft shadows
2020-04-10 23:09:17 -07:00
Zak Grumbles
a8de034f78
Fix OptionButton docs godotengine#36803
...
* item_selected and item_focused docs incorrectly had 'id' as the parameter. Changed to
'index'.
* Fix parameter name in ADD_SIGNAL callin code.
2020-04-10 20:35:40 -05:00
Rémi Verschelde
5566c5eb8d
Merge pull request #37517 from nekomatata/slider-grab-area-highlight
...
Add style for highlighted Slider grab area
2020-04-10 12:08:02 +02:00
Rémi Verschelde
9ab08f06c8
Merge pull request #37688 from theludovyc/dev
...
Remove unused ofs variable in Tree::_draw
2020-04-10 11:44:11 +02:00
Rémi Verschelde
c2f0d58c36
Merge pull request #37722 from reduz/implement-softshadows
...
Support light size and soft shadows
2020-04-10 10:24:57 +02:00
Juan Linietsky
6a730ffeab
Support light size and soft shadows
2020-04-09 15:11:15 -03:00
Bastiaan Olij
afc8c6391c
Renaming all ARVR nodes to XR
2020-04-09 15:33:01 +10:00
theludovyc
875c994109
Remove unused ofs variable
2020-04-08 20:00:43 +02:00
Juan Linietsky
26ecd924cc
Merge pull request #37678 from reduz/refactor-shadowmapping
...
Refactored shadowmapping.
2020-04-08 13:59:10 -03:00
Juan Linietsky
4ffc0d6b3f
Refactored shadowmapping.
...
- Made shadow bias size independent, so it will remain when changing light or camera size.
- Implemented normal offset bias, which greatly enhances quality.
- Added transmission to subsurface scattering
- Reimplemented shadow filter modes
Closes #17260
2020-04-08 11:19:43 -03:00
theludovyc
7e2de76236
erase : if ( i < offset ) { continue;} in for loops
2020-04-08 11:14:46 +02:00
janglee
9c2c2ab2b0
Fixed underlines and striketrough not respecting visible character
2020-04-07 19:04:13 +05:30
Rémi Verschelde
026ec44b02
Merge pull request #37551 from KoBeWi/found_your_screen
...
Add the missing argument in files_dropped signal
2020-04-07 09:18:38 +02:00
Rémi Verschelde
3586f21519
Merge pull request #37591 from Anutrix/remove_reduntant_class
...
Removed redundant class LineEditFileChooser from file_dialog
2020-04-07 09:14:53 +02:00
Rémi Verschelde
2c6affe084
Merge pull request #37642 from dreamsComeTrue/rich-text-strike-fix
...
Calculate strike-through y-position correctly (RichTexteLabel)
2020-04-07 09:14:29 +02:00
Rémi Verschelde
5d82fa74d9
Merge pull request #37615 from guilhermefelipecgs/fix_37526
...
Fix TextureRect::flip_* when used with atlas texture
2020-04-07 09:10:44 +02:00
Dominik 'dreamsComeTrue' Jasiński
06a79f260c
Calculate strike-through position correctly
...
Fixes : #37637
2020-04-06 22:26:58 +02:00
Rémi Verschelde
0d4d96d4b0
Merge pull request #37639 from qarmin/no_more_leaks
...
Fixes leaks when running editor
2020-04-06 21:25:36 +02:00
qarmin
5cbab81564
Fixes leaks when running editor
2020-04-06 20:07:08 +02:00
Guilherme Felipe
fb2d2dd5d0
Fix TextureRect::flip_* when used with atlas texture
...
Fix #37526
2020-04-06 08:36:36 -03:00
Yuri Roubinsky
e0a9879ce4
Merge pull request #37623 from Chaosus/vs_fix_keyword_name
...
Adds warning to the uniform name in visual shader if its equal to keyword
2020-04-06 14:15:20 +03:00
Yuri Roubinsky
8dfe6716ec
Adds warning to the uniform name in visual shader if its equal to keyword
2020-04-06 12:29:50 +03:00
Rémi Verschelde
6b07c72d76
Merge pull request #37556 from KoBeWi/kill_get_index
...
Remove Node.get_position_in_parent()
2020-04-06 09:44:38 +02:00
Tomasz Chabora
c1023157eb
Remove Node.get_position_in_parent()
2020-04-06 01:19:20 +02:00
Rémi Verschelde
de1d021574
Merge pull request #37397 from Eoin-ONeill-Yokai/Bug37081
...
Correction to RichTextLabel Tabulation (Bug 37081)
2020-04-05 10:07:47 +02:00
unknown
0fa7703565
Removed reduntant class LineEditFileChooser.
2020-04-05 02:50:32 +05:30
Rémi Verschelde
da887714be
Merge pull request #37570 from reduz/implement-sss
...
Re-implement subsurface scattering.
2020-04-04 17:14:48 +02:00
Juan Linietsky
c54f80d35c
Re-implement subsurface scattering.
...
The size settings are more "just works", with default scale and depth scale
values that don't need much tweaking.
Additionally, a "skin" mode was added so skin looks better.
EDIT: Cleaned up SSR filter shader a bit.
2020-04-04 11:44:28 -03:00
unknown
4413c562d6
Fix file dialog not showing icons
2020-04-04 17:18:43 +05:30
unknown
7e4db6174d
Remove redundant vbx variable in FileDialog
2020-04-04 14:58:57 +05:30
Michael Alexsander
a9e43ac73c
Re-expose a simplified version of the stretch properties in SubViewport
2020-04-03 14:11:22 -03:00
Tomasz Chabora
16cbfcf0de
Add the missing argument in files_dropped signal
2020-04-03 17:33:53 +02:00
Rémi Verschelde
59d44ee872
Merge pull request #37505 from YeldhamDev/viewcont_rename
...
Rename ViewportContainer to SubViewportContainer
2020-04-03 15:53:35 +02:00
Rémi Verschelde
b50387c8bf
Merge pull request #37521 from akien-mga/more-nullptr
...
Replace more occurrences of NULL with nullptr
2020-04-02 17:37:09 +02:00
Rémi Verschelde
6a38ce1b31
Merge pull request #37512 from reduz/implement-ssr
...
Re-Added screen space reflection.
2020-04-02 17:17:27 +02:00
Juan Linietsky
87c658b304
Re-Added screen space reflection.
2020-04-02 11:25:21 -03:00
PouleyKetchoupp
4c8173af0f
Add style for highlighted Slider grab area
2020-04-02 15:05:46 +02:00
Rémi Verschelde
ea7b497065
Replace more occurrences of NULL with nullptr
2020-04-02 14:56:01 +02:00
lupoDharkael
95a1400a2a
Replace NULL with nullptr
2020-04-02 13:38:00 +02:00
Rémi Verschelde
5f11e15571
Merge pull request #37504 from qarmin/out_of_bound_cursor
...
Fix array out of bounds access caused by uninitialised variables
2020-04-02 13:07:55 +02:00
Michael Alexsander
0c6851ae53
Rename ViewportContainer to SubViewportContainer
2020-04-01 16:11:44 -03:00
Rafał Mikrut
359bebd8c0
Fix out of bound array access caused by unassigned variable
2020-04-01 19:29:35 +02:00
Rémi Verschelde
2e84b7b916
Merge pull request #37443 from Leleat/master
...
Fix PopupMenu's letter jumping on any InputEventKey (instead of just a press)
2020-04-01 16:51:10 +02:00
Rémi Verschelde
96e654335a
Merge pull request #37481 from ThakeeNathees/bind-method-typo
...
some typo in method binds fixed
2020-04-01 12:57:26 +02:00