Commit graph

4535 commits

Author SHA1 Message Date
Juan Linietsky
4f697f73a5 Change MAX for MIN, fixes #26170 2019-02-22 21:19:31 -03:00
Juan Linietsky
7f63b0e8cd Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Juan Linietsky
aab8f443f9 -Support DEPTH_TEXTURE in GLES2, fixes #25106
-Fix use of transparent framebuffers in GLES2
-Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-22 11:35:39 -03:00
Juan Linietsky
edbf1d0ea4 Check that area is inside tree besides checking that queries are flushed, fixes #26148 2019-02-22 09:05:34 -03:00
Rémi Verschelde
5f5f338e3f
Merge pull request #26146 from YeldhamDev/splitcont_hover_fix
Fix 'SplitContainer's showing their handles when they shouldn't
2019-02-22 10:02:06 +01:00
Rémi Verschelde
c4b736d7ad Fix code style issues 2019-02-22 09:52:27 +01:00
Rémi Verschelde
60fe9321ac
Merge pull request #26099 from marxin/fix-Wtype-limits-warnings
Fix all -Wtype-limits warnings.
2019-02-22 09:44:59 +01:00
Michael Alexsander Silva Dias
f2f09f00b7 Fix 'SplitContainer's showing their handles when they shouldn't
Fixes #25735.
2019-02-21 23:01:30 -03:00
Juan Linietsky
8b231b96e3 Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801 2019-02-21 20:49:42 -03:00
Juan Linietsky
87b303aa95 Fixed bugs in test body motion and removed unnecesary test in move_and_slide. Fixes #25968 2019-02-21 17:21:36 -03:00
marxin
7de7f0ef17 Fix all -Wtype-limits warnings. 2019-02-21 19:34:35 +01:00
Rémi Verschelde
47c4ec7f1d
Merge pull request #26105 from nekomatata/texture-button-mask-fix
TextureButton with click mask only can be clicked
2019-02-21 14:48:43 +01:00
PouleyKetchoupp
f07dfe8a3f Fixed TextureButton click mask when no other texture is set 2019-02-21 01:11:56 +01:00
Rémi Verschelde
16934c7411
Merge pull request #26068 from luizcarlos1405/master
Fix AnimationPlayer jumping to the beggining after ending on editor.
2019-02-20 22:30:41 +01:00
Luiz
e27bbb075a Fix AnimationPlayer jumping to the beggining after ending on editor. 2019-02-20 14:58:53 -04:00
marxin
8d51618949 Add -Wshadow=local to warnings and fix reported issues.
Fixes #25316.
2019-02-20 19:44:12 +01:00
Rémi Verschelde
9714f701c5
Merge pull request #26089 from ianb96/word_wrap_cutoff_fix
Fix word wrap cutoff and tab wrapping issue
2019-02-20 16:28:43 +01:00
Rémi Verschelde
6709ff6a96
Merge pull request #26049 from vixelz/textureprogress-nineslice-fill-fix
Truncate first segment in TextureProgress 9slices
2019-02-20 15:23:31 +01:00
ianb96
39f537e481 Fix word wrap cutoff and tab wrapping issue 2019-02-20 08:52:33 -05:00
Kārlis Seņko
86374c0431 Allow moving LineEdit visible window left by more than one symbol. 2019-02-19 23:59:09 +02:00
Vixelz
559b8fd236 Truncate first segment in TextureProgress 9slices
Much in the way that TextureProgress was truncating the last segment
of the nine slice when the value wasn't close to the end, perform
similar work on the beginning segment. This fixes the beginning segment
always being drawn, sometimes in the incorrect location.
2019-02-19 08:28:32 +00:00
Rémi Verschelde
0fa3b80850
Merge pull request #26025 from clayjohn/particles_lifetime
Allowing setting particles lifetime greater than 600
2019-02-18 21:20:24 +01:00
clayjohn
0fec83bc92 allowing setting particles lifetime greater than 600 2019-02-18 10:46:41 -08:00
Marcelo Fernandez
b31e1b84fc Fix AudioStreams::stop possibly causing a small noise 2019-02-17 11:20:10 -03:00
Juan Linietsky
623f7b64ae Updat polygons when skeleton setup changes, fixes #25949 2019-02-16 20:08:17 -03:00
Rémi Verschelde
a034cac583
Merge pull request #25953 from nekomatata/fix-radial-texture-progress
Fixed TextureProgress in Radial Mode when using center offset
2019-02-16 22:26:06 +01:00
PouleyKetchoupp
1974f6995f Fixed radial progress with center offset by taking distance to edge into account in uv calculation 2019-02-16 21:02:29 +01:00
Rémi Verschelde
bf53132217
Merge pull request #25931 from qarmin/fix_copy_readonly
Fix copy text when TextEdit is readonly
2019-02-16 20:00:24 +01:00
Juan Linietsky
0cee7ab4c9 Change snapping to only happen when the floor normal remains as floor, fixes #22312 2019-02-16 15:50:31 -03:00
Juan Linietsky
ee464f56c4 Add a minimum treshold for acquiring rest contacts to avoid numerical precision issues. Fixes #25074 2019-02-16 13:45:01 -03:00
Juan Linietsky
c54330c6b0 Make sure stop on slope can have a tiny bit of precision edge. 2019-02-16 11:19:47 -03:00
Rémi Verschelde
2293559c9f
Merge pull request #25888 from marxin/fix-25217-part-2
Fix 2 more UBSAN issues (#25217).
2019-02-16 12:45:18 +01:00
qarmin
7a254b303b Fix copy text when TextEdit is readonly 2019-02-16 07:56:24 +01:00
Rémi Verschelde
fe7d2dc4d3
Revert "Fix MenuButton item label disappearing when setting shortcut." 2019-02-15 11:44:27 +01:00
Rémi Verschelde
3f74a54cd4
Merge pull request #25894 from marcelofg55/last_mouse_focus_crash
Fix possible crash with an invalid last_mouse_focus pointer
2019-02-15 09:27:32 +01:00
Rémi Verschelde
e7e4d41a29
Merge pull request #25841 from Awkor/menubutton-fix
Fix MenuButton item label disappearing when setting shortcut.
2019-02-15 09:10:05 +01:00
Marcelo Fernandez
761caac0b2 Fix possible crash with an invalid last_mouse_focus pointer 2019-02-14 22:16:56 -03:00
Unknown
3236c9a0e7 Fix MenuButton item label disappearing when setting shortcut. 2019-02-14 23:17:29 +01:00
marxin
7ae160f661 Fix 2 more UBSAN issues (#25217). 2019-02-14 20:47:35 +01:00
Luiz
5ec4f14a24 Fix AnimationPlayer bug where it wouldn't reset its position when finished 2019-02-14 15:32:29 -03:00
Juan Linietsky
4a24ba6e77 -Fixes to undo redo to avoid crash, closes #24251
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Rémi Verschelde
6b184e4d3b
Merge pull request #25717 from nekomatata/dynamic-font-settings-fix
Fixed undefined behavior when loading dynamic font settings
2019-02-14 12:54:33 +01:00
Rémi Verschelde
325efb60b7
Merge pull request #25776 from luizcarlos1405/master
Fixes some AnimationPlayer bugs
2019-02-13 20:34:35 +01:00
Rémi Verschelde
b340b7e804
Merge pull request #25422 from azagaya/optionbutton
Fix docs about item_selected and item_focused . Fixes #25273
2019-02-13 20:31:53 +01:00
Luiz
06a0a29711 Fix some AnimationPlayer bugs and update documentation 2019-02-13 14:40:22 -03:00
Naoto Kondo
f48829d1a4 Fix button alignment of Package Installer on OSX
This problem occurs only in the HiDPI environment.
2019-02-13 23:52:14 +09:00
Rémi Verschelde
5fc86026ca Fix typos with codespell
Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
Rémi Verschelde
55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
PouleyKetchoupp
9418f6a557 Fixed undefined setting values when loading dynamic fonts 2019-02-12 23:21:48 +01:00
Guilherme Felipe
67eda1d4dd Fix state machine priority for auto advance 2019-02-12 15:57:26 -02:00