Rémi Verschelde
7844775a76
Revert "Updated LineEdit to address #41278 "
...
This reverts commit 71febfd6e2
.
2020-09-01 14:04:37 +02:00
Rémi Verschelde
877246a78e
Merge pull request #41505 from SekoiaTree/neg-get-child
...
Made get_child support negative indexes
2020-09-01 12:35:55 +02:00
SekoiaTree
bdf614d3d7
Made get_child support negative indexes, with documentation
2020-09-01 11:34:36 +02:00
EricEzaM
73c7fb2118
PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
2020-09-01 17:56:38 +10:00
Rémi Verschelde
837a1f8533
Merge pull request #41440 from MrSquigy/master
...
Reorder sprite h_frames & v_frames
2020-08-31 15:09:37 +02:00
Jonathan Vice
28326aec60
Reorder sprite h_frames & v_frames
2020-08-31 14:55:49 +02:00
Rémi Verschelde
a70038293c
Merge pull request #41520 from Tony-Goat/patch-1
...
Added string length checking to LineEdit.set_text()
2020-08-31 13:41:45 +02:00
Rémi Verschelde
74dbcf1e4d
Merge pull request #30148 from zaksnet/fix-texture-editor
...
Adds automatic update for StyleBoxTexture > region_rect
2020-08-31 13:25:28 +02:00
Andrii Doroshenko (Xrayez)
528056a3c5
Make AnimatedTexture.MAX_FRAMES
public
...
The constant is already exposed in GDScript, but not in C++.
This information is useful for implementing animated texture
resource importers via modules.
2020-08-30 23:44:41 +03:00
Zak
7d7727bade
Adds automatic update for region_rect
...
When changing the texture region for a StyleBox, the regions was not updating automatically in the Texture editor.
2020-08-29 19:46:52 +02:00
Rémi Verschelde
6875c9d684
Merge pull request #40302 from verdog/camera-bounds-fix
...
Fix Camera2D Incorrect Preview Bounds
2020-08-27 09:58:24 +02:00
Tony-Goat
71febfd6e2
Updated LineEdit to address #41278
...
Updated set_max_length() function to actually pull a substring of the current text so it's not all thrown away when the new max length is shorter than the current length.
2020-08-26 11:19:24 -06:00
Rémi Verschelde
ba7738a3b2
Merge pull request #41476 from nekomatata/subviewport-node-compatibility
...
Add Viewport/SubViewport node compatibility
2020-08-24 18:02:07 +02:00
PouleyKetchoupp
e869e6eb0c
Add Viewport/SubViewport node compatibility
2020-08-23 20:18:11 +02:00
Marcel Admiraal
91bf9a91dd
Ensure node's area tree signals are disconnected when clearing monitoring,
...
even if nodes are no longer in the tree.
2020-08-23 11:13:02 +01:00
Juan Linietsky
4e52c75a98
Merge pull request #41345 from clayjohn/VULKAN-sky-fog
...
Add fog to sky shaders
2020-08-20 09:50:52 -03:00
clayjohn
9d341acf2d
Add fog to sky shaders
2020-08-19 22:58:14 -07:00
Juan Linietsky
9c5c1635b2
Revert "Fixes for windows in X11 tiling WMs"
2020-08-19 12:37:59 -03:00
Rémi Verschelde
a17fba3f21
Merge pull request #41302 from Jlalond/divide-by-zero
...
Update ResourceLoaderText::load to not update progress if resources a…
2020-08-16 22:37:27 +02:00
jjjlalonde@gmail.com
94b09da9a1
Update ResourceLoaderText::load to not update progress if resources are 0
...
Include check in other progress update statement
Update additional progress update statement
2020-08-16 13:12:21 -07:00
Andrii Doroshenko (Xrayez)
6f426c3360
Port ClassDB tests to use doctest
...
Extracted the most minimal core initialization functionality from
`setup()` and `setup2()` so that `ClassDB` could be tested properly
(input, audio, rendering, physics etc, are excluded).
Display and rendering servers/singletons are not initialized at all.
Due to the fact that most subsystems are disabled, fixed various crashes in the
process (in order):
- `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while
`register_scene_types()`);
- `make_default_theme` which depends on `RenderingServer`;
- `XRServer` singleton access while calling `register_modules_types()`;
- hidden bug in a way joypads are cleaned up (MacOS and Linux only).
Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`.
ClassDB tests:
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-08-16 16:41:02 +03:00
Cheeseness
1f159306ed
Skip indentation of empty lines when indenting a selection.
2020-08-14 23:53:34 +10:00
Rémi Verschelde
044b3d0ed3
Merge pull request #37769 from HellonLegs/master
...
solved ctrl + alt + special character Issue #6851
2020-08-14 13:03:07 +02:00
Rémi Verschelde
fac2bb99ac
Merge pull request #38223 from EricEzaM/spinbox-update-lineedit-after-bad-input
...
Fixed bug where spinbox would not update to it's actual value after non-numeric input
2020-08-14 12:16:32 +02:00
Juan Linietsky
6a5ecfdef1
Restored fog (non volumetric).
...
Uses a simpler and more intuitive implementation based on density.
Its less flexible than before, but its easier to get nice results.
2020-08-13 22:09:22 -03:00
Juan Linietsky
079ca220e1
Added volumetric fog effect.
2020-08-13 11:28:45 -03:00
Tomasz Chabora
677796a2c3
Expose NOTIFICATION_POST_ENTER_TREE
2020-08-12 13:31:32 +02:00
Rémi Verschelde
dc90b17691
Merge pull request #41166 from somnathsarkar/gradient-fix
...
Sort points in a Gradient for color and offset updates.
2020-08-12 12:38:46 +02:00
Somnath Sarkar
d5d832417e
Sort points in a Gradient for color and offset updates.
2020-08-12 01:55:41 -04:00
Rémi Verschelde
5ffbc7d678
Merge pull request #40964 from DrRevert/debug-mesh-lines-const
...
Change Shape3D::get_debug_mesh_lines into const methods
2020-08-11 19:02:19 +02:00
Rémi Verschelde
6a181efaf3
Merge pull request #41145 from nekomatata/cpu-particle-emission-mask-velocity
...
Fix 2D Particle velocity with directed emission mask
2020-08-11 17:02:44 +02:00
Umang Kalra
cec21ab82c
Fix RichTextLabel center alignment bug
...
Fixes #40207 .
2020-08-11 12:11:38 +02:00
Rémi Verschelde
bb0c2d4677
Merge pull request #41139 from nekomatata/text-edit-disable-vk
...
Add option to disable virtual keyboard for TextEdit
2020-08-11 11:48:37 +02:00
PouleyKetchoupp
1c231cacb3
Fix 2D Particle velocity with directed emission mask
...
Changed CPU velocity calculation for EMISSION_SHAPE_DIRECTED_POINTS
to follow the same logic as in the GPU version:
mat2 rotm;
rotm[0] = texelFetch(emission_texture_normal, emission_tex_ofs, 0).xy;
rotm[1] = rotm[0].yx * vec2(1.0, -1.0);
VELOCITY.xy = rotm * VELOCITY.xy;
Now both CPUParticles2D & CPUParticles3D (z disabled) show the same results
as their GPU counterparts and take the initial velocity settings into account.
2020-08-09 18:16:53 +02:00
PouleyKetchoupp
095331fae4
Add option to disable virtual keyboard for TextEdit
...
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.
It allows implementing a custom virtual keyboard.
2020-08-09 11:06:36 +02:00
Paulb23
5cf2cf8646
Fix colour region continuation over blank lines, issue 41120
2020-08-08 15:36:46 +01: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
Arkadiusz Marcin Kołek
8e1c9ff1c1
Shape3D::get_debug_mesh_lines const methods
2020-08-02 11:10:43 +02:00
opl-
48d55e46d0
Fix window max_size acting as min_size
2020-07-31 17:38:34 +02:00
Yuri Roubinsky
4d52456613
Fix small reconnection bug in visual shader
2020-07-31 10:40:05 +03:00
Paulb23
51dd4792d7
Fix TextEdit line width cache not being updated
2020-07-29 21:42:38 +01:00
Brian Semrau
69d1c48b73
Fixed shader editor comment highlighting
2020-07-28 15:16:24 -04:00
Yuri Roubinsky
cf03f90fa8
Merge pull request #40785 from Chaosus/vs_uniform_ref
...
Added UniformRef visual shader node
2020-07-28 16:17:37 +03:00
Yuri Roubinsky
7ddaff47a3
Added UniformRef visual shader node
2020-07-28 14:44:53 +03:00
Rémi Verschelde
eb0a67c6b8
Merge pull request #40754 from Chaosus/vs_default_uniforms
...
Added default value for uniforms in visual shaders
2020-07-28 13:40:49 +02:00
Rémi Verschelde
a5f6c24734
Merge pull request #40768 from ConorLPBoyle/skeletonik-reload-goal-fix
...
Fixed reload_goal not being called when SkeletonIK3D::start is invoke…
2020-07-28 09:12:45 +02:00
Aaron Franke
56e2c6c704
Make all String float conversion methods be 64-bit
2020-07-27 18:38:53 -04:00
George Marques
5cbd032309
Fix input after removing multilevel calls
2020-07-27 15:23:57 -03:00
ConorLPBoyle
fa4d9c9446
Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true
2020-07-27 20:18:16 +03:00
Yuri Roubinsky
8fefdcf113
Added default value for uniforms in visual shaders
2020-07-27 15:44:22 +03:00