qarmin
5650c1ecde
Fix inspector update after changing anchor via buttons
...
(cherry picked from commit 8b391b9ab0
)
2019-04-01 11:13:20 +02:00
Robear Selwans
4fda05e15f
Added the ability to change the default cursor property for the RichTextLabel component.
...
(cherry picked from commit b852a7a854
)
2019-04-01 11:10:04 +02:00
Paul Trojahn
0c3c4d61f7
Remove extraneous line breaks from text resources
...
Fixes #23539
(cherry picked from commit 9bbda4db2f
)
2019-04-01 11:08:47 +02:00
Angeloss
589c5698a0
Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
2019-03-27 11:32:41 -06:00
Andrettin
4023d52399
Made the tooltip position offset configurable
...
(cherry picked from commit 30c07c1ae1
)
2019-03-16 10:41:08 -07:00
merumelu
db8f26c8e5
AudioStreamSample: Don't crash when writing to file fails
2019-03-12 15:51:07 +01:00
Rémi Verschelde
59aa79f218
Merge pull request #26867 from bojidar-bg/26816-graphnode-title
...
Fix cursor going to start while editing GraphNode's title
2019-03-10 11:50:49 +01:00
Bojidar Marinov
964152ed71
Fix cursor going to start while editing GraphNode's title
...
Fixes #26816
2019-03-10 12:22:15 +02:00
Rémi Verschelde
7052ddd706
Merge pull request #26859 from JFonS/fix_cpuparticles_resetting
...
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 11:09:36 +01:00
JFonS
c13ac398f6
Fix resetting of CPUParticles (2D and 3D)
2019-03-10 00:33:08 +01:00
Rémi Verschelde
bba854bac6
Merge pull request #26851 from RandomShaper/fix-26460-fake-event-flood
...
Fix fake null-motion mouse event flood
2019-03-09 22:40:53 +01:00
Pedro J. Estébanez
f757460ec8
Fix fake null-motion mouse event flood
...
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit.
Fixes #26460 .
2019-03-09 22:04:17 +01:00
Gilles Roudière
ede5306d7c
Fixes UI navigation with joysticks
2019-03-09 21:09:20 +01:00
Rémi Verschelde
362b42787b
Merge pull request #26784 from humblers/fix-cpuparticles2d
...
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-09 16:28:34 +01:00
Daeil Kim
1edc2134c9
Prevent invisible/inactive cpuparticles to redraw(3d)
2019-03-09 10:50:44 +09:00
Daeil Kim
608af1a786
Prevent invisible/inactive cpupparticles2d to redraw
2019-03-08 16:05:00 +09:00
Gilles Roudière
a6c229bbfd
Fixes bad gizmo alignment for textures with odd size
2019-03-07 21:05:23 +01:00
Rémi Verschelde
e28e849012
Merge pull request #21534 from volzhs/fix-scrollcontainer-size
...
Precise size calculation of ScrollContainer
2019-03-07 14:19:43 +01:00
Juan Linietsky
06dbeab5d4
No longer crash due to wrongly requesting a gizmo, fixes #26735
2019-03-07 09:26:49 -03:00
Juan Linietsky
34a29cb0de
Merge pull request #26669 from RandomShaper/fix-26460
...
Improve/fix picking
2019-03-06 13:55:01 -03:00
Juan Linietsky
3d34df0e79
Hide StreamTexture flags, fixes #26640
2019-03-06 12:50:24 -03:00
Juan Linietsky
5f079e2ef9
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
...
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Rémi Verschelde
4ab4ff67ff
Merge pull request #26642 from DrMoriarty/check_cursor_line
...
Check cursor line and column
2019-03-05 22:57:55 +01:00
Pedro J. Estébanez
82902656ac
Improve/fix picking
...
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position)
Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful)
Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved)
Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals)
Fixes #26460 .
2019-03-05 22:33:34 +01:00
Rémi Verschelde
12fefc1a6c
Merge pull request #26638 from KoBeWi/fix_audio_stream_player
...
Pause AudioStreamPlayer on SceneTree pause
2019-03-05 16:58:40 +01:00
Vasiliy Makarov
a3d9b7d916
Check cursor line and column
...
Added a trivial check if cursor.line and cursor.column are valid.
Fix #26245
2019-03-05 18:27:37 +03:00
Tomasz Chabora
4f840168d2
Pause AudioStreamPlayer on SceneTree pause
2019-03-05 15:04:29 +01:00
Michael Alexsander Silva Dias
a292d1fefb
Fix general issues with filesystem-related UI components in the editor
2019-03-05 10:12:06 -03:00
Mariano Suligoy
078b869d9a
TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix for #24003
2019-03-04 21:03:10 -03:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Juan Linietsky
03cafd4895
Update focus mask only if there is a focused control, fixes #26524
2019-03-04 10:26:48 -03:00
Juan Linietsky
9dd9737cb4
Warn about plane shape usage, closes #26503
2019-03-04 10:12:03 -03:00
Juan Linietsky
4f041d3afa
Specifically error when users try to use sync to physics and move and slide, closes #26545
2019-03-04 09:53:02 -03:00
Rémi Verschelde
4da21d1ce1
Merge pull request #26511 from clayjohn/giprobe_gles2_warning
...
Add warning to GIProbe when using GLES2
2019-03-04 09:40:20 +01:00
clayjohn
d566c5b75e
add warning to GIProbe when using GLES2
2019-03-03 11:26:08 -08:00
Juan Linietsky
0b7f20c7ed
Fixed missing exclude raycast shapes arguments in snap, closes #25230
2019-03-03 16:10:10 -03:00
Juan Linietsky
6b8b1cabae
Add a warning when using plain Container, as many users seem to misunderstand what this is.
2019-03-03 16:00:56 -03:00
Juan Linietsky
2f32a75d2e
Skeletons can now choose between using local or world coords for processing, fixes #26468
2019-03-03 12:24:00 -03:00
Rémi Verschelde
88e0bed081
Merge pull request #26514 from clayjohn/hide_properties_gles2
...
Hide hdr and shadow_contact in gles2
2019-03-03 13:43:43 +01:00
Rémi Verschelde
467f18b738
Fix style issues from recent commits
2019-03-03 12:45:20 +01:00
clayjohn
95837049e8
hide hdr and shadow_contact in gles2
2019-03-02 19:01:26 -08:00
Juan Linietsky
c00429c33b
Removed some prints
2019-03-02 12:15:48 -03:00
Juan Linietsky
1b8f56c099
Clean up and fix some situations where triangulation may fail, closes #26366
2019-03-02 12:04:24 -03:00
Juan Linietsky
90038a4eef
Fixed a case of broken loop due to wrapping on the edge, closes #25245
2019-03-02 11:07:13 -03:00
Juan Linietsky
b84b015225
Make query checks less agressive, fixes #24694
2019-03-02 08:48:47 -03:00
Juan Linietsky
4b679f7f16
Remove old method that makes no sense today, fixes #25566
2019-03-01 18:02:45 -03:00
Juan Linietsky
51b80f6857
Fixed some crashers, closes #26393
2019-03-01 17:24:57 -03:00
Rémi Verschelde
03862d43ad
Merge pull request #26441 from QbieShay/fix_sigill_when_no_parent_escn
...
Engine does not crash anymore if a non root node in escn is missing a parent.
2019-03-01 20:18:59 +01:00
Rémi Verschelde
994bdc9adc
Merge pull request #26140 from karliss/meta-item
...
Use correct meta item in rich text.
2019-03-01 18:16:27 +01:00
Ilaria Cislaghi
9d41ee71f6
Editor does not crash anymore if a non root node in escn is missing a parent
2019-03-01 14:38:02 +01:00
Justin Vesper
079ed007c8
Fixed wrong method binding in control
...
Control.get_parent_area_size() is now bound to
Control::get_parent_area_size() instead of Control::get_size()
2019-03-01 14:16:19 +01:00
clayjohn
9fdc77c222
added diffuse and specular as inputs to visual shader
2019-02-28 22:02:06 -08:00
Rémi Verschelde
ed37408907
Merge pull request #26257 from kaadmy/procedural_sky_sun_energy
...
Use sun energy for ProceduralSky generation
2019-02-27 21:42:28 +01:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
...
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Rémi Verschelde
426a6fdc17
Merge pull request #26134 from marxin/fix-Wsign-compare
...
Fix -Wsign-compare warnings.
2019-02-27 09:22:47 +01:00
Rémi Verschelde
0ba75c195e
Fix GCC 5 build after #26331 and cleanup style
...
Also cleanup after 01a3dd3
.
2019-02-27 09:01:24 +01:00
marxin
e5f665c718
Fix -Wsign-compare warnings.
...
I decided to modify code in a defensive way. Ideally functions
like size() or length() should return an unsigned type.
2019-02-27 07:45:57 +01:00
Hein-Pieter van Braam
464e1142c4
Don't crash on previewing an AtlasTexture without a region
2019-02-27 00:44:09 +00:00
Juan Linietsky
3299045988
Remove setting that caused is_inside_tree() errors on doppler tracking enabled.
2019-02-26 09:16:23 -03:00
Windy Darian
52538b200f
Fix saturate ScalarFunc in Visual Shader
...
Was getting this error when using a saturate node. This change fixes it.
```
:39 - Invalid arguments for built-in function: max(float,int)
drivers\gles3\rasterizer_storage_gles3.cpp:2150 - Condition ' err != OK ' is true.
```
2019-02-25 23:30:03 -05:00
Juan Linietsky
a32b26dfa2
Several fixes to make GLES2 on HTML5 work much better.
...
Changed math class error reporting to be a bit less paranoid.
2019-02-25 21:47:29 -03:00
Bojidar Marinov
8dad5f1e10
Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
...
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.
Fixes #25904 .
2019-02-25 17:42:38 +02:00
Juan Linietsky
74d0ed2236
Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others
2019-02-24 22:36:53 -03:00
KaadmY
bffe97c110
Use sun energy for ProceduralSky generation
2019-02-24 17:12:35 -08:00
Hein-Pieter van Braam
a83e77fded
Explicitly use floating point numbers in the our shaders
...
We need to be explicit about using floating point numbers in our shaders
for compatibility with mobile GLES drivers.
2019-02-24 23:35:10 +00:00
Juan Linietsky
3ea04c1366
Prevent circular references to scene being saved, fixes #24384
2019-02-24 10:48:38 -03:00
Juan Linietsky
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
Juan Linietsky
6cd4006fb3
Do not crash on empty path, closes #23701
2019-02-23 20:07:16 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Juan Linietsky
9dfe3b6d9e
Ensure move and slide snap respects stop on slope, fixes #26180
2019-02-23 10:24:21 -03:00
Rémi Verschelde
a291c837f0
Merge pull request #26157 from YeldhamDev/splitcont_update_check
...
Make 'SplitContainer' update drawing only if actually needs to
2019-02-23 10:36:09 +01:00
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
Michael Alexsander Silva Dias
52abab5aa7
Make 'SplitContainer' update drawing only if actually needs to
2019-02-22 10:12: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
Kārlis Seņko
05f5774592
Use correct meta item in rich text.
...
Prevent incorrect static cast and unnecesarry meta_hover_ended/started
events.
2019-02-22 00:23:05 +02: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