Commit graph

4519 commits

Author SHA1 Message Date
Rémi Verschelde
7d22e162e7
Merge pull request #24806 from timoschwarzer/camera2d-process-mode
Add process_mode property to Camera2D
2019-01-07 08:19:18 +01:00
Rémi Verschelde
3873f84548
Merge pull request #24777 from volzhs/font-kerning
Fix font kerning
2019-01-06 18:33:20 +01:00
Timo Schwarzer
c06db1dd18
Add process_mode property to Camera2D
This allows the user to choose if the camera should update in
_process or _physics_process.
2019-01-06 15:44:17 +01:00
Timo Schwarzer
3b2e03cf0b
Fix jumping when scrolling down fast with smooth scroll enabled
Fixes #24773
2019-01-06 10:22:38 +01:00
Paulb23
411df08711 Fix text edit wrapping beyond control size, issue 23896 2019-01-05 16:58:54 +00:00
volzhs
a9b7843dca Fix font kerning 2019-01-05 09:44:47 +09:00
Rémi Verschelde
2c118d754d
Merge pull request #24689 from BrodyEller/master
Fix viewport not updating with make_current() for Camera2D
2019-01-04 19:04:13 +01:00
Rémi Verschelde
bc9899fb9f
Merge pull request #24504 from harrisyu/AtlasCheckPixelOpaque
Fix #24470 Atlas Texture with margin setting cause error in editor.
2019-01-04 16:11:37 +01:00
Rémi Verschelde
fa5ca1bbf0
Merge pull request #24738 from timoschwarzer/24725-fit-child-in-rect-null-check
Check if p_child is not null in Container.fit_child_rect()
2019-01-04 14:54:57 +01:00
Timo Schwarzer
a8f367a4b8
Check if p_child is not null in Container.fit_child_rect()
Fixes #24725
2019-01-03 22:33:07 +01:00
Rémi Verschelde
65a86ae17c
Merge pull request #24683 from SoIAS/autocompletion_menu_position_24674
Fixed autocompletion menu vertical position
2019-01-03 21:33:12 +01:00
Timo Schwarzer
a1fbef3d60
Allow offset and unit_offset to be set higher than one loop
Fixes #24745
2019-01-03 17:32:20 +01:00
Rémi Verschelde
a58c3fb4b7
Merge pull request #24736 from timoschwarzer/ltex-thumbnails
Add thumbnails to LargeTexture
2019-01-03 14:04:11 +01:00
Rémi Verschelde
6b1c3d6310
Merge pull request #24722 from Calinou/improve-graphedit-line-drawing
Make GraphEdit lines smoother and scale their width on hiDPI displays
2019-01-03 13:47:52 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture 2019-01-03 13:09:25 +01:00
Dawid Wdowiak
615ca1d59e Fixed autocompletion menu vertical position 2019-01-03 07:11:40 +01:00
Hugo Locurcio
574f90605d
Make GraphEdit lines smoother and scale their width on hiDPI displays 2019-01-02 23:29:48 +01:00
Rémi Verschelde
03b8168c2e
Merge pull request #24691 from BlackCatter/line2d-fix
Fix line 2D intersection behavior
2019-01-02 19:39:31 +01:00
Artem Burjachenko
6ff26b105a Fix line 2D intersection behavior 2019-01-02 17:34:58 +04:00
Brody Eller
440d62acd1 Fix viewport not updating with make_current() for Camera2D 2019-01-01 13:44:09 -05:00
Rémi Verschelde
b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Michael Alexsander Silva Dias
4a91f94c13 Add undo-redo to the TileSet editor, and other improvements 2018-12-30 10:54:03 -02:00
Rémi Verschelde
e3e36c963f
Merge pull request #24588 from volzhs/tree-relationship-line
Draw relationship lines when its value is higher than 0
2018-12-27 11:19:20 +01:00
Rémi Verschelde
2e39e38c10 doc: Sync classref with current source
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde
e86418f7a9
Merge pull request #24566 from thomasruiz/fix/completion-box-center-text-vertically
Center lines vertically in completion box
2018-12-27 08:55:17 +01:00
volzhs
6a43f0a901 Draw relationship lines when its value is higher than 0 2018-12-25 09:18:18 +09:00
Thomas Ruiz
d2fa0658a2
Fix caret size with font smaller than row height 2018-12-23 14:29:33 +01:00
Thomas Ruiz
7fb0853c68
Center lines vertically in completion box 2018-12-23 12:19:27 +01:00
JFonS
6b15b4f904 Expose the new gizmo plugin system to scripting 2018-12-21 23:56:39 +01:00
Rémi Verschelde
0b774d47e6
Merge pull request #24509 from guilhermefelipecgs/fix_24273
Add bind for TileMap::get_cell_autotile_coord
2018-12-21 10:08:03 +01:00
Rémi Verschelde
83c3cba640
Merge pull request #24508 from guilhermefelipecgs/fix_22756
Fixes for TileSetEditor and TileMapEditor
2018-12-21 10:05:53 +01:00
Guilherme Felipe
9eb4bb044f Add bind for TileMap::get_cell_autotile_coord 2018-12-20 15:43:44 -02:00
Guilherme Felipe
21bad78bd8 Fixes for TileSetEditor and TileMapEditor
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756, don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
harrisyu
9d6f16e864 Fix #24470 Atlas Texture with margin setting cause error in editor. 2018-12-20 21:40:40 +08:00
Shinryuuji
e24379e61f Fix TextureLayered::create not retaining format 2018-12-20 12:35:22 +01:00
Rémi Verschelde
a06f8ca6b9
Merge pull request #24439 from staalduinen/mouse-motion-fix
fix near infinite loop when no previous mouse position
2018-12-19 14:09:24 +01:00
Arjen van Staalduinen
ef9313f415 fix near infinite loop when no previous mouse position
Added physics_has_last_mousepos to better deal with
situations where there is no last_mousepos
2018-12-19 13:35:41 +01:00
volzhs
e577093965 Fix colored font rendered in wrong size
Fix #24456

The character->rect.size is properly update at DynamicFontAtSize::_bitmap_to_character
so no need to multiply scale again.

It was changed with 5cd12f6649
2018-12-19 03:54:51 +09:00
Paulb23
f1c6947702 Fix Word wrap cache desync causing crash 2018-12-18 13:12:46 +00:00
Rémi Verschelde
1621270f26
Merge pull request #24432 from YeldhamDev/animationtree_editor_fixes
General fixes for the AnimationTree editor
2018-12-18 09:08:10 +01:00
Rémi Verschelde
a195b2f1a3
Merge pull request #24428 from akien-mga/label-uppercase
Label: Fix kerning when using Uppercase mode
2018-12-18 07:57:41 +01:00
Michael Alexsander Silva Dias
b86b497cec General fixes for the AnimationTree editor 2018-12-17 21:03:58 -02:00
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
Ivan Varesi
b69c05c700 Fix 6DOF Physical Bone joint
Adding angular and linear springs param to PhysicalBone joint type JOINT_TYPE_6DOF,
using new 6DOF feautres implemented in sdfgeoff/godot@e149327.

Typo correction lenear_equilibrium_point to linear_equilibrium_point.
2018-11-22 11:15:48 +01:00
Juan Linietsky
0032345618 Make sure sync to physics is disabled in editor, fixes #20230 2018-11-21 22:22:43 -03:00
Juan Linietsky
9018e8b132 Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135 2018-11-21 16:07:24 -03:00
Ibrahn Sahir
c1f5233217 Moved dirty material lists from static to lifetime controlled by main.
As with 7d82bed4f4,
The list is now destroyed before the OS object, so can print errors if
there are unfreed materials.
2018-11-21 15:51:50 +00:00
Rémi Verschelde
03bd4d28a5
Merge pull request #23859 from lupoDharkael/node-naming
Node: make _generate_serial_child_name manipulate numbers as String
2018-11-21 16:39:21 +01:00
lupoDharkael
1025e3ecea Node: make _generate_serial_child_name manipulate numbers as String
The conversion from an String to int can overflow int and int64
so it is safer to manipulate strings when we try to find the next
available name for a Node.
2018-11-21 14:18:34 +01:00
Ray Koopa
fddffa9eb8 Unify editor class and reference search
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias
da7d3c5a58 Make opening menus with the same parent on mouse focus explicit 2018-11-20 20:37:45 -02:00
Rémi Verschelde
7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde
33947a5722
Merge pull request #23728 from groud/keep_splitcontainer_offset
Keep the SplitContainer offset value when it is shrinked
2018-11-20 14:17:52 +01:00
Rémi Verschelde
477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Andrea Catania
a837c33442 Added possibility to override or add target basis to tip bone 2018-11-20 13:57:16 +01:00
Rémi Verschelde
173b342ca7 Remove trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'`
(+ manual revert of some thirdparty code under `platform/android`).
2018-11-20 11:15:02 +01:00
Ibrahn Sahir
397b4c2a4a Removed duplicate property bind in Generic6DOFJoint.
Probably a copy paste error.
2018-11-20 03:47:09 +00:00
Juan Linietsky
c500581d32 Remove the "is able to sleep" condition for adding visibility notifier nodes, fixes #19659
I think the previous behavior was more useful, but I understand it's not obvious or discoverable.
2018-11-19 23:06:02 -03:00
lupoDharkael
d2b890ede5 BaseButton: add shortcut_in_tooltip
This flag disables the input related information in the tooltip.
It is exposed as a member variable in gdscript.
2018-11-19 23:48:05 +01:00
Juan Linietsky
55ded6b2de Properly handle multiple parent drag, fixes #19460 2018-11-19 18:38:07 -03:00
Juan Linietsky
0ab71689ae Reseek if cachees were cleared in animation player, fixes #19424 2018-11-19 13:14:37 -03:00
Juan Linietsky
634aa4fc24 Ensure bone AABBs are properly transformed to affect mesh AABB, fixes #19281 2018-11-19 10:43:29 -03:00
Bastiaan Olij
bcef4b8dc6 Fixing tangent and binormal logic 2018-11-19 22:27:05 +11:00
Hugo Locurcio
34dba2f3cc
Tweak the Hue Variation property hint to allow finer adjustments 2018-11-19 10:52:17 +01:00
Juan Linietsky
0f7a86ca52 If using relationship lines (now default) hide guides. 2018-11-18 22:00:31 -03:00
Juan Linietsky
afe4f2080a Make sky and ground energy do something, fixes #18856 2018-11-18 15:43:49 -03:00
Juan Linietsky
83afc6170a Skeleton2D was missing transform notification, fixes #18719 2018-11-18 15:28:13 -03:00
Juan Linietsky
2d6b994e47 Massive speed up on deleting nodes, fixes #18673
Also makes the editor exit faster
2018-11-18 11:48:21 -03:00
Rémi Verschelde
3c62a584eb
Merge pull request #23767 from marcelofg55/fix_is_playing
Fix AudioStreamPlayer2D/3D::is_playing right after a play()
2018-11-17 17:19:21 +01:00
Rémi Verschelde
5075e372f3
Merge pull request #23668 from sdfgeoff/fix_angular_constraints
Exposing more of bullets 6DOF spring constraints
2018-11-17 16:15:33 +01:00
Marcelo Fernandez
016f7bd8f8 Fix AudioStreamPlayer2D/3D::is_playing right after a play() 2018-11-17 11:47:11 -03:00
Juan Linietsky
0afdc5c559 Avoid duplicate visility changed notification, fixes #18160 2018-11-16 19:47:13 -03:00
Juan Linietsky
3331ececc4 Do not allow controls in ignore mouse to get focus via their children, fixes #17955 2018-11-16 13:47:21 -03:00
Rémi Verschelde
193324f354
Merge pull request #23734 from RandomShaper/fix-canvas-layer-out-of-tree
Fix CanvasLayer trying to re-stack while out of tree
2018-11-16 15:15:48 +01:00
Rémi Verschelde
2d7fe9b298
Merge pull request #23735 from pshe94/master
Use VScrollBar when calculating horiz. offset in ScrollContainer
2018-11-16 15:15:23 +01:00
Juan Linietsky
0b1e93ccd4 -Make sure monitorable cant be flipped while flushing queries, fixes #17330
-Also added set_deferred, this was missing.
2018-11-16 08:49:26 -03:00
pshe94
554b3f77c7
Use VScrollBar when calculating horiz. offset in ScrollContainer
Someone forgot to change `h_scroll` to `v_scroll` when copy-pasting the code ;)
2018-11-16 02:47:43 +01:00
Pedro J. Estébanez
5dac6ef486 Fix CanvasLayer trying to re-stack while out of tree
Fixes #23718.
2018-11-16 01:01:17 +01:00
Juan Linietsky
26d33d1c6e ViewportContainer was not passing unhandled input. Pass it, fixes #17326 2018-11-15 17:29:55 -03:00
Juan Linietsky
80a90ca824 -Send mouse motion events again to CollisionObjects (Area/Body) if they move, even if mouse does not. Fixes #16536 (likely many others should check)
-Add ability for viewports to set input events as handled locally
2018-11-15 13:56:57 -03:00
groud
a982531368 Keep the SplitContainer offset value when it is shrinked 2018-11-15 16:47:28 +01:00
Juan Linietsky
89a8f930d4
Merge pull request #23716 from JFonS/fix_2d_particles_scale
Fix Particles2D animation regression from #23702
2018-11-15 16:29:58 +01:00
Thomas ten Cate
922f2d613f Fix return value of get_total_character_count
Also document that it only counts visible characters.

Fixes #23720
2018-11-15 12:34:08 +01:00
JFonS
1267f92740 Fix Particles2D animation regression from #23702 2018-11-15 09:22:11 +01:00
Juan Linietsky
397b12727c No one seems to like the error icon, so I made it invisible. Fixes #16344 2018-11-14 21:34:39 -03:00
Juan Linietsky
5f4485d4ff Always use default theme for overrides, closes #13071 2018-11-14 21:21:51 -03:00
Juan Linietsky
c5656b7468
Merge pull request #23564 from endragor/fix-remove-child-ordering
Notify node's moved children after sibling removed
2018-11-14 20:30:41 +01:00
Juan Linietsky
16022da187 Ensure that array passed to physics is always counter clockwise, fixes #15361. 2018-11-14 15:55:50 -03:00
Juan Linietsky
88bfb27abf Show theme values from default theme always, fixes #16011, fixes #13071 2018-11-14 18:02:21 +01:00
Juan Linietsky
55f5f4757e
Merge pull request #23248 from dlasalle/fog
Add parameters for fog end depth and use alpha as density.
2018-11-14 10:24:55 -03:00
Juan Linietsky
43b9ed64c8
Merge pull request #23702 from JFonS/fix_2d_particles_scale
Make 2D particles work OOTB (again)
2018-11-14 10:16:50 -03:00
Juan Linietsky
89a76f21ed Ability to toggle flipping of tangent and binormal in depth parallax materials. Fixes #15934. 2018-11-14 10:15:58 -03:00
Dominique LaSalle
6eae6247e4 Add parameter for fog max depth and use alpha as density. 2018-11-13 17:19:11 -08:00
Juan Linietsky
37c5aa1084 Add a limit of previously known last element to timer timeout traversal in SceneTree, fixes #15559 2018-11-13 20:11:22 -03:00
JFonS
cbfb7bd613 Make 2D particles work OOTB (again) 2018-11-13 23:25:05 +01:00
Juan Linietsky
65111ba996 Ability to remove buses while they are being used on 2D and 3D stream players. Fixes #15115 2018-11-13 18:17:19 -03:00
Rémi Verschelde
5613aa489e
Merge pull request #23299 from FlamyAT/sprite3d-floating-offset
Changed Sprite3D to float based drawing
2018-11-13 21:28:08 +01:00
Rémi Verschelde
4e5ef43dbb ParticlesMaterial: Simplify PARAM_SCALE texture validation
Using the same helper method as other param textures.
2018-11-13 10:31:02 +01:00
Geoffrey Irons
e149327be0 Added angular restitution
Adding angular and linear springs

Added getters
2018-11-13 09:24:00 +01:00
Rémi Verschelde
193d695a1a
Merge pull request #17530 from bojidar-bg/17516-detect-delta
Make it possible to call move_and_slide from _process, even if it is not recommended
2018-11-12 21:14:15 +01:00