Hein-Pieter van Braam
c58b1608ea
Don't accidentally convert string content to char
...
Due to the right hand side of the :? trickery the rhs was cast to a
char losing precision. Previously this didn't matter, but with
CharProxy it does. (Previously we could just happily cast it back to
a wchar_t and get the original 16 - 32 bits. Now we'll only ever
get the first 8).
2018-12-17 22:31:02 +01:00
Rémi Verschelde
7cb5e005ee
Label: Fix kerning when using Uppercase mode
...
Seemingly a typo, I did not check what exact impact it had, but
the x_ofs would likely have accumulated errors when using fonts
with varying char widths.
2018-12-17 20:56:36 +01:00
Rémi Verschelde
cf0716952d
Merge pull request #24422 from guilhermefelipecgs/fix_z_index_atlas
...
Add z-index to ATLAS_TILE
2018-12-17 13:57:23 +01:00
Guilherme Felipe
d840262739
Add z-index to ATLAS_TILE
2018-12-17 10:03:50 -02:00
Rémi Verschelde
4d546164e7
Fix maybe-uninitialized warnings from GCC 4.8.x
...
Fixes the following warnings in `p=server target=release_debug` builds
on Travis CI:
```
./core/os/memory.h: In function 'MainLoop* TestOAHashMap::test()':
./core/os/memory.h:108:111: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized]
#define memnew_placement(m_placement, m_class) _post_initialize(new (m_placement, sizeof(m_class), "") m_class)
^
main/tests/test_oa_hash_map.cpp:98:7: note: 'dummy' was declared here
int dummy;
^
scene/resources/bit_mask.cpp:447:3: warning: 'next_i' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/resources/bit_mask.cpp:448:4: warning: 'next_j' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-12-17 12:42:26 +01:00
Guilherme Felipe
4c5548e06e
Fix sub-transitions not using end_node correctly
...
Fix #22389
2018-12-16 23:40:41 -02:00
Rémi Verschelde
20379119c3
Merge pull request #24366 from BastiaanOlij/adjust_sky_orientation
...
Adding option to re-orient our sky
2018-12-16 22:56:43 +01:00
Rémi Verschelde
f00c5c00d7
Merge pull request #24379 from YeldhamDev/popupmenu_itemofs_highlight_fix
...
Fix item highlighting in PopupMenu for items with offset
2018-12-16 14:29:37 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Michael Alexsander Silva Dias
04ea79c738
Fix item highlighting in PopupMenu for items with offset
2018-12-15 18:48:10 -02:00
Bastiaan Olij
f3dd3c0830
Adding option to re-orient our sky
2018-12-15 19:41:34 +11:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Kanabenki
cfb89b672e
Prevent FileDialog from stealing focus when setting current file in editor
2018-12-14 22:58:01 +01:00
Konrad Nowakowski
7491e910f3
Fix touch release event on _gui_input
2018-12-14 18:28:11 +00:00
piratesephiroth
0e94afbc92
fix stop_on_slope affecting sliding up slopes
2018-12-14 16:02:43 +01:00
Guilherme Felipe
64e52f5bdb
Fix tree item editable cell not updating when windows was resized
2018-12-14 12:09:47 -02:00
Rémi Verschelde
661e5e873b
Merge pull request #24046 from DualMatrix/stop_slope
...
Fixed using move_and_slide with stop_on_slope stopping too early
2018-12-14 13:57:19 +01:00
Rémi Verschelde
31aaff3b21
Merge pull request #24161 from aroncds/master
...
Fix properties update in remote transform
2018-12-14 13:34:46 +01:00
Michael Alexsander Silva Dias
c2fe5c0468
Expose ButtonGroup's "get_buttons()" to GDScript
2018-12-14 04:16:23 -02:00
Rémi Verschelde
01fa0673a4
Merge pull request #22870 from semtri/godot-issue-7620
...
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-12-13 21:16:13 +01:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
merumelu
61ceb59f1d
ColorPicker fixes
...
- Fix regression from #22402 which made presets invisible ingame
with `tools=yes` builds.
- Don't emit `color_changed` signal when deleting a preset
as no color change happens.
2018-12-12 22:30:49 +01:00
Rémi Verschelde
de264a8199
Merge pull request #22739 from DualMatrix/autoplay_warn
...
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
2018-12-12 16:10:59 +01:00
Rémi Verschelde
ab1a80504e
Merge pull request #24267 from YeldhamDev/buttongroup_remove_panel_theme
...
Remove "panel" theme property from ButtonGroup
2018-12-12 13:59:17 +01:00
Rémi Verschelde
5ff403b3b0
Merge pull request #23361 from mrcdk/wav_loop_backward
...
Add backward looping support to AudioStreamSample (wav files)
2018-12-11 18:43:18 +01:00
Rémi Verschelde
13d037b200
Merge pull request #21471 from RodZill4/issue_11893
...
Fixed issue #11893 (SpinBox capturing mouse)
2018-12-11 18:16:29 +01:00
Rémi Verschelde
3f9c054163
Merge pull request #23887 from ibrahn/dirty-material-list-lifetime
...
Moved dirty material lists from static to lifetime controlled by main.
2018-12-11 18:05:19 +01:00
Rémi Verschelde
4c41e29c8e
Merge pull request #23923 from bruvzg/ime_gdscript
...
Changes IME to make it possible to use it from gdscript/gdnative
2018-12-11 18:00:48 +01:00
Rémi Verschelde
573956915e
Merge pull request #22461 from dlasalle/#10480
...
Hide shading options in SpatialMaterial when 'FLAG_UNSHADED' is set.
2018-12-11 16:12:56 +01:00
Rémi Verschelde
55089d0b1a
Merge pull request #24224 from BastiaanOlij/flip_bitangent
...
Reverse bitangent on everythings
2018-12-11 15:21:43 +01:00
Michael Alexsander Silva Dias
bfab0fe3db
Remove "panel" theme property from ButtonGroup
2018-12-10 17:28:56 -02:00
Rodolphe Suescun
0838eca063
Fixed issue #11893 (SpinBox Capturing mouse)
...
To prevent the SpinBox from capturing mouse, added a "drag.allowed"
variable that is set to true only when clicking inside the control.
Entering the control with the left mouse button pressed will not
trigger drag anymore.
Also modified the value update code when dragging so it does not
modify the base_val.
2018-12-10 19:33:04 +01:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
...
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Michael Alexsander Silva Dias
a491824ec0
Warn about AnimationTreePlayer's deprecation
2018-12-09 12:39:37 -02:00
Bastiaan Olij
fa63a0fe83
Reverse bitangent on everythings to ensure default normal map behavriour is consistent
2018-12-08 13:43:46 +11:00
Guilherme Felipe
33ca76e15d
Fix AutoTile z-index not persisting correctly
2018-12-07 23:51:49 -02:00
Rémi Verschelde
41d1dba35f
Merge pull request #22431 from DualMatrix/pivot
...
Fixed pivot tool not setting position of Controls correctly
2018-12-07 23:18:27 +01:00
Rémi Verschelde
d303a7e6d7
Merge pull request #22680 from lupoDharkael/color-picker-presets
...
ColorPicker: extend access to presets from gds
2018-12-07 22:39:12 +01:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Michael Alexsander Silva Dias
f69dbc0953
Update NavPoly in the editor canvas when the resource is changed via the Inspector
2018-12-06 19:45:47 -02:00
Rémi Verschelde
1691e2e5e4
Merge pull request #24148 from mineevgleb/fix-pathfollow-offset-slider
...
#24131 : fix for PathFollow offset slider overlapping with the inspector
2018-12-06 11:54:30 +01:00
Rémi Verschelde
31384a56b5
Merge pull request #24160 from YeldhamDev/graph_tooltips
...
Add tooltips to GraphEdit node
2018-12-05 08:57:19 +01:00
MrCdK
3f7ae10843
Fixed CanvasItem.draw_multimesh() binding.
2018-12-05 01:29:21 +01:00
Aron Castro
7619a8a30d
Fix properties update in remote transform
2018-12-04 15:22:58 -02:00
Michael Alexsander Silva Dias
3ae5eec366
Add tooltips to GraphEdit node
2018-12-04 15:00:27 -02:00
Gleb Mineev
f0379366dc
#24131 : fix for PathFollow offset slider overlapping with the inspector
2018-12-04 00:29:37 +01:00
Rémi Verschelde
6f9aa8727c
Merge pull request #23991 from glaforte/bugfix/19195
...
Generate the tangents without de-indexing and re-indexing the vertices.
2018-12-03 17:35:50 +01:00
Rémi Verschelde
0dd89a3d97
Merge pull request #24051 from Omicron666/patch-1
...
Fixes typo in source string sent to translation.
2018-12-03 17:34:49 +01:00
Rémi Verschelde
e6b0327c2c
Merge pull request #24112 from allkhor/rich_label_update_cache
...
RichTextLabel: update the cache when the scroll hide.
2018-12-03 17:32:04 +01:00
Rémi Verschelde
29f043ff3e
Merge pull request #24126 from pgruenbacher/deprecated_get_frustum_listener
...
remove_unused_get_frustum
2018-12-03 17:31:25 +01:00
paul gruenbacher
66bfc29d06
remove_unused_get_frustum
2018-12-02 20:18:42 -05:00
Guilherme Felipe
26c1af4848
Add missing validations
...
Add missing validations to prevent crash of multiple mouse buttons being
pressed
2018-12-02 22:38:54 -02:00
Rémi Verschelde
f86013082e
Merge pull request #24106 from groud/fix_split_container
...
Fixes collapsed SplitContainers
2018-12-02 21:19:44 +01:00
Rémi Verschelde
cda28f5077
Merge pull request #24007 from JFonS/fix_cpuparticles_scale
...
Fix "scale" property collision in CPUParticles
2018-12-02 17:56:06 +01:00
Rémi Verschelde
7215f7475e
Merge pull request #24104 from guilhermefelipecgs/fix_mouse_crash
...
Fix crash when multiple mouse buttons is pressed.
2018-12-02 17:13:54 +01:00
allkhor
c80b9e9173
RichTextLabel: update the cache when the scroll hide.
2018-12-02 05:06:38 +06:00
groud
136847e5c3
Fixes collapsed SplitContainers
2018-12-01 17:31:37 +01:00
Guilherme Felipe
ea6a5bb8fb
Fix crash when multiple mouse buttons is pressed.
2018-12-01 11:25:43 -02:00
JFonS
4ede92bdc8
Fix "scale" property collision in CPUParticles
2018-11-30 16:05:50 +01:00
allkhor
7831cd76ab
TextEdit: added redo option to the context menu
2018-11-29 23:21:43 +06:00
Omicron
464e294c8f
Fixes typo in source string sent to translation.
...
no mesh has ~~not~~ been assigned
2018-11-29 13:12:09 +01:00
DualMatrix
86472ad5a9
Fixed using move_and_slide with stop_on_slope stopping too early
...
This makes it stop exactly on the slope, I'm not 100% sure if this if this is the correct fix let me know what you think.
Fixes #23675
2018-11-29 02:24:33 +01:00
Juan Linietsky
5b8dde4b4a
Removed error that should not be an error, fixes #21088
2018-11-28 18:41:29 -03:00
Juan Linietsky
167eb269ec
Fixes crash, closes #24038
2018-11-28 13:10:23 -03:00
Rémi Verschelde
06db076fc6
Merge pull request #24025 from aaronfranke/analyzer-errors
...
Fix many errors found by PVS-Studio
2018-11-28 14:08:50 +01:00
Juan Linietsky
39028cc161
Improved the mouse focus system (mouse keeps focus on a control while buttons are pressed). Fixes #19154 and likely many others.
...
WARNING: Test well in every OS, if mouse wheel events are not properly sent as pressed+unpressed pair, it will fail and break (and the OS needs to be fixed). Only tested on X11 so far.
2018-11-28 09:33:13 -03:00
Rémi Verschelde
05755618c5
Merge pull request #23993 from Kanabenki/autocomplete-ignore-case
...
Add suggestions ignoring case at the end of the code autocomplete
2018-11-28 13:26:28 +01:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde
78cdbc54b0
Merge pull request #23994 from AndreaCatania/prec
...
Added function to control 6DOF precision
2018-11-28 10:30:47 +01:00
Rémi Verschelde
62f25142ee
Merge pull request #24011 from Xrayez/fix-23031
...
Init `ignore_camera_zoom` property in parallax background constructor
2018-11-28 10:25:51 +01:00
Rémi Verschelde
dd06f6ee70
Fix style issues and signature mismatch
2018-11-28 10:21:07 +01:00
Rémi Verschelde
0307f2885c
Merge pull request #24024 from DualMatrix/queue
...
Made it possible to read AnimationPlayer queue from GDscript
2018-11-28 09:56:36 +01:00
Juan Linietsky
af8d941c55
Added luminance capping to avoid glitches on small dots. closes #17996
2018-11-28 01:22:20 -03:00
DualMatrix
0cc8a3b9a6
Made it possible to read AnimationPlayer queue from GDscript
2018-11-28 01:43:34 +01:00
Juan Linietsky
b243c26697
Get rid of ancient .theme format for Theme resource. It was not working and can be done the same using .tres format. Closes #19038
2018-11-27 20:42:47 -03:00
Juan Linietsky
2e0a94edc6
Changed theme notifications to work with newly introduced reference counted connections. Closes #21265 , Fixes #6145 .
...
Probably fixes more theme notification related open issues, should check.
2018-11-27 14:34:43 -03:00
Andrii Doroshenko (Xrayez)
86eaded7b4
Init `ignore_camera_zoom` property in parallax background constructor
...
The default value for `ignore_camera_zoom` property was initialized by garbage value,
leading to camera's zoom to be ignored even if unset in editor most of the time.
2018-11-27 14:10:19 +02:00
Andrea Catania
a395d809a5
Added function to control 6DOF precision
2018-11-27 07:11:28 +01:00
allkhor
a04ba76d89
Ceil tabs font size
2018-11-27 00:30:12 +06:00
Kanabenki
99ffd748f1
Add suggestions ignoring case at the end of the code autocomplete
2018-11-26 16:36:46 +01:00
Guillaume Laforte
675dc00d04
Generate the tangents without de-indexing and re-indexing the vertices.
...
The support for shape keys / blend shapes depends on a consistent order for the vertices.
Fixes https://github.com/godotengine/godot/issues/19195 .
2018-11-26 10:09:52 -05:00
Rémi Verschelde
3e1e508b64
Merge pull request #23962 from Windfisch/arvr_conf_warn
...
Update ARVR{Anchor,Controller}'s configuration warning
2018-11-26 11:35:14 +01:00
Rémi Verschelde
f30745bd85
Fixup to typo and indentation in 81c86e8
2018-11-26 11:21:06 +01:00
Rémi Verschelde
73551a1edc
Merge pull request #23964 from allkhor/text_edit_clear_selection
...
TextEdit: remove selection when clear happens.
2018-11-26 11:00:54 +01:00
Rémi Verschelde
f98a38540d
Merge pull request #23943 from Paulb23/fix_smoothscroll_jitter_issue_23314
...
Fix scroll bar lock when smooth scroll enabled, issue 23314
2018-11-26 10:45:35 +01:00
Juan Linietsky
81c86e8047
Improved bindings and added documentation for AnimationNode, closes #20720
2018-11-25 16:57:23 -03:00
Florian Jung
0c4ffae40c
Update ARVR{Anchor,Controller}'s configuration warning
...
Updates their config warning upon change of `controller_id`
or `anchor_id`, respectively.
fixes godotengine/godot#23881
2018-11-25 18:27:02 +01:00
allkhor
594e0261f3
TextEdit: remove selection when clear happens.
2018-11-25 23:24:49 +06:00
Paulb23
9e57c359b7
Fix scroll bar lock when smooth scroll enabled, issue 23314
2018-11-24 14:03:54 +00:00
Rémi Verschelde
8348aca118
Merge pull request #23934 from allkhor/rich_text_label_scroll_offset
...
RichTextLabel: clear the scroll offset.
2018-11-24 10:28:44 +01:00
allkhor
970dc91cb7
RichTextLabel: clear the scroll offset.
2018-11-23 23:54:49 +06:00
zer0problem
1c75603ff5
Fixed signal animation_finished
...
The signal animation_finished is now fired after all values have been changed so changes to the animation can be done without animation_finished without generating unexpected behavior.
2018-11-23 16:53:25 +01:00
Juan Linietsky
c48027af92
Ensure no crash happens when skeleton is removed, closes #20677
2018-11-23 09:35:43 -03:00
bruvzg
4554c682e6
Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative.
2018-11-23 14:07:48 +02:00
Italo Vieira
a8a92ec114
Fixing wrong type hint on CPUParticles and CPUParticles2D's color ramp
...
Fixes #22795
2018-11-23 00:54:25 +01:00
Rémi Verschelde
da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
...
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde
feee2b5842
Merge pull request #23731 from lupoDharkael/remove-button-tooltip
...
BaseButton: make input related information in the tooltip optional
2018-11-22 16:13:47 +01:00
Rémi Verschelde
6ea25cbbf0
Merge pull request #23856 from nthrack/fix_6DOF_physicalbone_spring
...
Fix 6DOF Physical Bone joint
2018-11-22 16:00:53 +01:00