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
marxin
6be77da7eb
Fix new GCC 9 warnings: -Wdeprecated-copy.
2019-03-02 14:37:02 +01:00
Juan Linietsky
b84b015225
Make query checks less agressive, fixes #24694
2019-03-02 08:48:47 -03:00
Andrettin
30c07c1ae1
Made the tooltip position offset configurable
2019-03-02 12:11:42 +01:00
Paul Trojahn
9bbda4db2f
Remove extraneous line breaks from text resources
...
Fixes #23539
2019-03-01 23:02:58 +01: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
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
...
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.
Closes #11722
2019-02-26 15:38:23 +02: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
will
eb9c92f996
ColorPicker: New properties to toggle the editability and visibility of presets
2019-02-24 23:16:56 -06: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
JFonS
54b95b6c5a
Add FRUSTUM camera mode, allowing tilted frustums
...
This new camera mode makes it easy to create tilted frustums for mirror
or portal effects.
This work was kindly sponsored by IMVU.
2019-02-19 17:48:08 +01:00
qarmin
9bf1964dff
Back scroll to start when changing folder
2019-02-19 13:31:39 +01: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
Rémi Verschelde
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
Rémi Verschelde
dfe4990b18
Merge pull request #25496 from ptrojahn/lookat
...
Fix look_at with non uniform scaling
2019-02-12 13:41:42 +01:00
Rémi Verschelde
b7cc2bb1e2
Core: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde
fb8dce3e2e
Merge pull request #25602 from mcccclean/dont-ignore-listener-nodes
...
Fix 3D Listener nodes not being used
2019-02-12 12:30:50 +01:00
Rémi Verschelde
13c50e8aa5
Merge pull request #25481 from hpvb/fix-ubsan-asan-reports
...
Fix many asan and ubsan reported issues
2019-02-12 12:21:01 +01:00
Rémi Verschelde
f60e5efadd
Merge pull request #25725 from clayjohn/multimesh_transform_2d
...
Added ability to set_instance_transform_2d in multimesh
2019-02-12 11:35:42 +01:00
Rémi Verschelde
9c6f19117c
Merge pull request #25754 from JFonS/fix_25567
...
Fix canvas particle material for old GLSL versions
2019-02-12 11:25:32 +01:00
JFonS
4d933b1530
Fix canvas particle material for old GLSL versions
2019-02-11 14:56:23 +01:00
azagaya
7051685a77
Fixes differences between docs and item_selected and item_focused signals in optionbutton
...
Description in docs about item_selected and item_focused signals in optionbutton is fixed to match the real behaviour. Also, get_item_index function is added.
2019-02-11 08:52:09 -03:00
Michael Alexsander Silva Dias
e322fd140e
Add disabled tab style
2019-02-10 18:12:17 -02:00
Michael Alexsander Silva Dias
4fd7115e13
General cleanup of script and doc search bars
2019-02-10 14:18:08 -02:00
Rémi Verschelde
1aa7fc09eb
TSCN: Remove extra newline after [resource]/[ext_resource]
...
Some cases had been handled in #17602 , but those two were missed.
Fixes #24677 .
2019-02-10 16:58:45 +01:00
Rémi Verschelde
034cd62a77
Warn when using GPU particles with GLES2
...
Closes #25733 .
2019-02-09 20:49:58 +01:00
Rémi Verschelde
8908bdc7f2
Merge pull request #25653 from BastiaanOlij/fix_hide_skyrotation
...
Hide new sky properties if we don't have sky as a background
2019-02-09 13:09:39 +01:00
Rémi Verschelde
6d98ce281f
Merge pull request #25671 from vnen/physics-material-2d
...
Include PhysicsMaterial when 3D is disabled
2019-02-09 12:10:12 +01:00
clayjohn
20ff01b8e4
added ability to set instance_transform_2d in multimesh
2019-02-08 20:59:09 -08:00
Rémi Verschelde
e190589f3d
Merge pull request #25627 from clayjohn/visual_shader_texture_bug
...
Change hint_color to hint_albedo for sampler2ds
2019-02-08 20:19:28 +01:00
Paul Trojahn
163cdb8954
Fix look_at with non uniform scaling
...
The angle function doesn't consider the scaling of the local coordinates,
so it needs to be removed first. Fixes #23247
2019-02-08 18:00:54 +01:00
Rémi Verschelde
17d92c2b09
Merge pull request #25551 from JFonS/fix_rogue_cpu_particles
...
Fix local_delta when resetting CPUParticles
2019-02-08 12:17:16 +01:00
Rémi Verschelde
3dd00e77b4
Merge pull request #25524 from Calinou/fix-font-oversampling-warning
...
Fix a font oversampling warning being printed when it shouldn't
2019-02-08 11:52:45 +01:00
Rémi Verschelde
9523403192
Merge pull request #25509 from bojidar-bg/25504-update-bitmask-crash
...
Fix crashes when calling update_bitmask_area
2019-02-08 11:16:38 +01:00
Rémi Verschelde
4ddefe9142
Merge pull request #25467 from fire/folding_spam
...
Add check in folding to see if the nodepath exists to avoid message spam and expose get_node_or_null
2019-02-08 10:13:36 +01:00
George Marques
5743c7910a
Include PhysicsMaterial when 3D is disabled
...
It's still needed by 2D physics.
2019-02-06 19:23:44 -02:00
JFonS
a7a21bd9fe
Fix particles animation on GLES2
2019-02-06 16:00:22 +01:00
Tom McLean
8159ee93a7
Prefer a viewport's listener over a camera where available
...
Fix clang formatting issue
2019-02-06 21:43:57 +11:00
Bastiaan Olij
edc5628541
Hide new sky properties if we don't have sky as a background
2019-02-06 21:27:31 +11:00
Rémi Verschelde
25027d60f7
Merge pull request #25606 from Paulb23/fix_textedit_scroll_selection
...
Fixed selection being activated when using scroll lines.
2019-02-06 11:27:16 +01:00
Bastiaan Olij
005fb62284
Added a mesh interface to the arvr positional trackers
2019-02-06 21:03:43 +11:00
clayjohn
b78a384921
change hint_color to hint_albedo for sampler2ds
2019-02-04 22:12:25 -08:00
Michael Alexsander Silva Dias
1e3e770073
Add frame support for Sprite3D with region enabled
2019-02-04 20:31:45 -02:00
Paulb23
69374cd378
Fixed selection being activated when using scroll lines
2019-02-04 10:55:45 +00:00
JFonS
fe6123fca4
Fix local_delta when resetting CPUParticles
2019-02-01 17:16:09 +01:00
Hein-Pieter van Braam
37aa06bf8a
When an animationplayer sets a property on itself recreate the caches
...
this fixes #25507
2019-02-01 16:15:39 +01:00
Hugo Locurcio
355d65aa8d
Fix a font oversampling warning being printed when it shouldn't
2019-01-31 19:49:10 +01:00
Bojidar Marinov
abfeba8d12
Fix crashes when calling update_bitmask_area
...
Fixes #25504
2019-01-31 11:48:37 +02:00
K. S. Ernest (iFire) Lee
b83c3827f3
Add check in folding to see if the nodepath exists to avoid message spam.
2019-01-30 20:19:44 -08:00
Hein-Pieter van Braam
d308eb091a
Fix many asan and ubsan reported issues
...
This allows most demos to run without any ubsan or asan errors. There
are still some things in thirdpart/ and some things in AudioServer that
needs a look but this fixes a lot of issues. This should help debug less
obvious issues, hopefully.
This fixes #25217 and fixes #25218
2019-01-30 06:43:56 +01:00
Rémi Verschelde
308e66442e
Merge pull request #25439 from YeldhamDev/color_picker_toggle_fixup
...
Small fixup on button toggle behaviour in ColorPicker
2019-01-29 08:57:45 +01:00
Yusuf
a7e6a31d7f
binding for get_frustum() of camera class
2019-01-28 21:43:59 +03:00
Michael Alexsander Silva Dias
8d3ae29e8f
Small fixup on button toggle behaviour in ColorPicker
2019-01-28 15:51:57 -02:00
Rémi Verschelde
402cfa983d
Fix recursive assignment of Textures and BitMapFont
...
Fixes #24213 .
2019-01-28 15:10:34 +01:00
Rémi Verschelde
7e99ac22ae
Merge pull request #25366 from clayjohn/visual_shader_builtins
...
Updated visual shader builtins
2019-01-27 22:23:32 +01:00
Juan Linietsky
45a400d90e
Do not restrict light texture type (wont work with atlas, though)
2019-01-27 16:58:18 -03:00
Juan Linietsky
70d6d0fa69
Fix problem blending from state to state in statemachine node, closes #21944
2019-01-27 15:21:54 -03:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
...
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Gilles Roudiere
30dd1815e4
Change the frame number before triggering the animation_finished signal
2019-01-27 17:31:55 +01:00
Michael Alexsander Silva Dias
182f26fe5e
Make some small enhancements to the ColorPicker
2019-01-27 12:44:39 -02:00
Rémi Verschelde
17b2b17471
Document AnimatedTexture and bind MAX_FRAMES constant
...
Closes #24935 .
2019-01-27 13:11:57 +01:00
clayjohn
c4db6ce2b2
updated visual shader builtins
2019-01-27 01:27:09 -08:00
Rémi Verschelde
c3b0ee5941
Fix code style issues
2019-01-26 22:35:31 +01:00
Rémi Verschelde
433b8ee526
doc: Sync classref with current source
2019-01-26 22:21:53 +01:00
Juan Linietsky
c2f59de212
Warn of invalid pointer when converting object to RID, closes #19023
2019-01-26 15:41:26 -03:00
Juan Linietsky
b203f80dfc
Rewrite how font oversampling is updated more carefully, fixes #24338
2019-01-26 14:57:17 -03:00
Connall Lindsay
11f4b5efc5
Brace completion for quotation marks was introducing another quotation mark at the end of the
...
string, I think because it wasn't checking that the quotation mark didn't exist at the current
cursors position. Simple change, that fixed the issue and stood up to testing. Issue #25084
2019-01-26 17:03:11 +00:00
Daniel Rakos
5fcb03f6b6
Changed ImageTexture image cache type to the correct one, fixes #24971
...
The original attempt to fix the issue was accidentally using the wrong
type for the image cache. This change fixes that.
2019-01-26 09:12:38 +01:00
Juan Linietsky
b3335e943b
Implement missing autorestart in oneshot node, closes #22238
2019-01-25 18:15:29 -03:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Juan Linietsky
c743da100d
Avoid crashing in #23302
2019-01-25 09:09:32 -03:00
Fabian
01170c911c
Added copy_theme and fixed bugs in copy theme introduced by #2e0a94e
2019-01-25 13:14:06 +10:30
Rémi Verschelde
6ad4f16b1d
Merge pull request #25298 from groud/fix_separation_update
...
Updates containers minimum size when some constants are modified
2019-01-24 23:39:32 +01:00
groud
a1f955a1d3
Updates containers minimum size when some constants are modified
2019-01-24 22:31:33 +01:00
Juan Linietsky
a280bd0c85
Removed dangerous and useless function, closes #22884
2019-01-24 17:56:19 -03:00
Juan Linietsky
d0b736f7e5
Ability to get the current canvas item being drawn from stylebox.
2019-01-24 10:22:41 -03:00
Rémi Verschelde
a29b10cced
ProgressBar: Set default step to 0.01
...
Fixes #22655 .
2019-01-24 12:58:58 +01:00
Rémi Verschelde
63b487e49c
Fix PhysicsBody ignoring set_friction/bounce with default value
...
The intent was to avoid creating a physics override to set a default value
that doesn't make a difference, but as #22406 shows it can be necessary to
set the default value *back* after an override was created to set a non-default
value.
Fixes #22406 .
2019-01-24 12:15:54 +01:00
groud
0577f93cf6
Fixing textures not triggering _change_notify
2019-01-23 21:48:58 +01:00
Marcin Zawiejski
bbc9e91043
Fix warning when setting out of range outline_size
...
Fixes the warning mentioned in #25046
2019-01-23 14:44:16 +01:00
Rémi Verschelde
51c67a386d
Merge pull request #25190 from 99alfie/master
...
Fix ButtonGroup.get_pressed_button bug
2019-01-23 12:30:23 +01:00
Juan Linietsky
e081cec69f
Fix collision margin being wrongly read by default, fixes #25181
2019-01-22 10:15:18 -03:00
Rémi Verschelde
7c8f55f857
Merge pull request #25207 from clayjohn/cpu_particle_2d_aligny_bug
...
Fix bug with CpuParticles2D AlignY
2019-01-22 12:19:00 +01:00
Rémi Verschelde
34d0585618
Merge pull request #25208 from clayjohn/angular_velocity_cpu_2d
...
Properly initialize angular_velocity in cpuparticles2d
2019-01-22 07:45:00 +01:00
clayjohn
af92ade728
properly initialize angular_velocity in cpuparticles2d
2019-01-21 21:00:00 -08:00
clayjohn
fbde851641
fix bug with cpu_particle_2d_align_y
2019-01-21 20:11:48 -08:00
Juan Linietsky
3eb0757552
Modified code generation to be more friendly to previews, fixes #25094
2019-01-21 16:10:23 -03:00
Rémi Verschelde
055456d5fc
Merge pull request #25064 from homer666/itemlist-adjust-ui_select-precedence
...
ItemList: ignore `ui_select` action if Select Mode is not "Multi"
2019-01-21 17:45:30 +01:00
Kraus
ea211af412
ButtonGroup.get_pressed_button bugfix, fixes issue #25057
2019-01-21 16:46:09 +01:00
Rémi Verschelde
769341e180
Cleanup after @reduz :)
...
Fixes #25172 .
2019-01-21 11:12:55 +01:00
George Linkovsky
33a541727a
Added check engine_traction
2019-01-20 09:21:54 +04:00
Rémi Verschelde
d10f8027a4
Merge pull request #25114 from Calinou/fix-colorpicker-rounding
...
Fix a rounding error in ColorPicker
2019-01-19 10:00:42 +01:00
Grant Clarke
d27ca7eb73
Fixed Bone Transform Order
...
The bone index being passed to the visual server is not using the process order and results in incorrect skin deformation if the calculated process order is different from the unordered bones Vector.
Incidentally, this never showed when I exported rigged characters from blender using the Better Collada exporter. This bug only materialised when experimenting with the glTF pipeline from Maya.
2019-01-18 22:26:13 +00:00
Hugo Locurcio
4b78306459
Fix a rounding error in ColorPicker
...
This closes #25063 .
2019-01-18 22:19:19 +01:00
Juan Linietsky
93d8f3cdd5
respect mouse mode when setting enter/exit notifications and signals, fixes #19785
2019-01-18 17:53:36 -03:00
Juan Linietsky
0c54e6344b
Fix capture interpolation mode in Animation, closes #24015
2019-01-18 17:07:45 -03:00
Juan Linietsky
d8b702b566
-Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860
...
-Fixed potential bug in OWC (i dont think anyone had it but..)
2019-01-18 14:15:05 -03:00
Juan Linietsky
1efd37f1b7
Fix uninitialized memory error.
2019-01-17 19:12:01 -03:00
Juan Linietsky
e0336996ce
Add some checks to avoid disaster when making a node the scene root. Fixes #24484
2019-01-17 15:26:38 -03:00
Juan Linietsky
5e709baba1
Fix keying resource properties, closes #24690
2019-01-17 12:30:34 -03:00
Juan Linietsky
56d4b9b1ae
Fix functions to get direct contacts from shapes, closes #19618
2019-01-17 12:01:09 -03:00
homer666
5f47e18b0f
ItemList: ignore ui_select
action if Select Mode is not "Multi"
2019-01-18 01:54:24 +11:00
Juan Linietsky
6d7dfa6df8
Avoid crashing GIProbe bake with broken UV data, closes #25028
2019-01-17 10:58:34 -03:00
Juan Linietsky
7478f468b2
Fixes to 2D lights, closes #24750
2019-01-17 10:40:36 -03:00
Rémi Verschelde
a63bb3c804
Merge pull request #25038 from GlaDos28/master
...
fixed AudioStreamPlayer3D::_get_attenuation_db epsilon value
2019-01-17 10:39:08 +01:00
Rémi Verschelde
9f2d98c055
Merge pull request #24993 from YeldhamDev/cppcheck_warns_scene_fix
...
Appease some CppCheck warns for files in the "scene" directory
2019-01-17 10:28:32 +01:00
Evgeny Savelyev
fc086bc93d
fixed AudioStreamPlayer3D::_get_attenuation_db epsilon value
2019-01-17 01:41:36 +03:00
Rémi Verschelde
07e2046980
Merge pull request #24924 from danilo2205/rename-oriented-path-follow
...
Merge OrientedPathFollow into PathFollow
2019-01-16 19:24:44 +01:00
Danilo Villa (Davi)
e74a3add9c
Rename OrientedPathFollow to PathFollowOriented
2019-01-16 14:32:18 -02:00
Michael Alexsander Silva Dias
9c69d7f339
Appease some CppCheck warns for files in the "scene" directory
2019-01-16 12:59:18 -02:00
Rémi Verschelde
58d7619a79
Merge pull request #25036 from volzhs/tree-focus-rect
...
Update rect size on select
2019-01-16 13:29:02 +01:00
volzhs
1e603b706e
Update rect size on select
2019-01-16 20:44:34 +09:00
Rémi Verschelde
053d7f3765
Fix some errors found by static analysis
...
Fixes items 10, 16 and 19 from PVS-Studio blog post
in #24014 .
2019-01-16 10:59:45 +01:00
Stanislav
3beca92d61
Fixed typo in ImageTexture:: & StreamTexture::is_pixel_opaque
...
Fixes #24946
2019-01-15 12:28:50 +03:00
Juan Linietsky
6af8b7c955
Defer activated signal after tree has been traversed.
2019-01-14 17:20:54 -03:00
Juan Linietsky
91290f0ded
Added a flag to specify an exported node path must be supplied from scene root, fixes #24412
2019-01-14 15:46:56 -03:00
Juan Linietsky
ed9b230744
Hide visible popups by default if visible when entering tree, unless on editor. Fixes #24737
2019-01-14 13:16:19 -03:00
Juan Linietsky
81180b266a
Hide worldenvironment settings not relevant in GLES2. Fixes #23281
2019-01-14 12:59:31 -03:00
Rémi Verschelde
1ff170e67f
Redo serial name fixup from 799ed2b989
...
reduz wanted the original PR reverted due to issues, so this follow-up had to be too
(done in 8cb54182ad
). But he ended up adapting part of
the original PR in 27d7772381
without including this fix.
2019-01-11 23:02:57 +01:00
Juan Linietsky
2cd15849f9
Fixes to auto triangle editing in BlendSpace2D
2019-01-10 21:40:46 -03:00
Juan Linietsky
27d7772381
Rewrote rename logic to be less buggy and more efficient, fixes #23803 and probably many recent bugs using GraphEdit
2019-01-10 18:58:16 -03:00
Rémi Verschelde
8cb54182ad
Revert "Node: make _generate_serial_child_name manipulate numbers as String"
...
This reverts commits 1025e3ecea
and 799ed2b989
.
2019-01-10 22:40:42 +01:00
Rémi Verschelde
bcd05c0d91
Merge pull request #24886 from akien-mga/animatedtexture-frame-properties
...
Fix showing AnimatedTexture frame_* properties in editor
2019-01-10 14:28:37 +01:00
Rémi Verschelde
11c09a17c2
Fix showing AnimatedTexture frame_* properties in editor
...
Regression from cd0b82fd56
, it must be hidden from docs
(PROPERTY_USAGE_INTERNAL) but not from the editor.
Supersedes and fixes #24880 .
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2019-01-10 14:12:14 +01:00
Rémi Verschelde
e5f1d19352
Consistency in resource format saver/loader de-registration
...
Some used 'is_valid()' checks, others not. Validity is already checked in 'unref()',
and 'remove_resource_format_*()' has an ERR_FAIL condition on 'is_null()' already
(which shouldn't happen since we're only unregistering things that we previously
registered.
Also add missing GDCLASS statement in ResourceFormatLoaderVideoStreamGDNative,
missed in #20552 which was last amended before #19501 was merged.
2019-01-10 12:45:57 +01:00
Rémi Verschelde
5f0e3b6849
Merge pull request #24858 from volzhs/animation-transition
...
AnimationNodeTransition name begins from 0
2019-01-09 13:06:45 +01:00
Rémi Verschelde
bdfbe58ea6
Merge pull request #24851 from bruvzg/ime_focus_fix
...
Update IME text only for focused input controls.
2019-01-09 12:13:54 +01:00
Rémi Verschelde
e8f73d8c4c
Merge pull request #24842 from volzhs/fix-node-name-serial
...
Fix strip out spaces while generating serial number for node name
2019-01-09 12:13:06 +01:00
volzhs
153a3146d0
AnimationNodeTransition name begins from 0
...
and added "state" string for default name not to confuse it as number
2019-01-09 14:44:41 +09:00
Juan Linietsky
e46f28e02d
Removed splits in Polygon editor, replace by internal vertices and polygon support.
2019-01-08 19:11:08 -03:00
bruvzg
55bc004a73
Update IME text only for focused input controls.
2019-01-08 22:52:56 +02:00
volzhs
799ed2b989
Fix strip out spaces while generating serial number for node name
2019-01-08 22:37:45 +09:00
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
Mateus Felipe C. C. Pinto
2933ef42f7
Make AnimatedSprite.animation complain when invalid animation name
2018-12-20 08:44:28 -02: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
Mateus Felipe C. C. Pinto
ca1935d6f7
Add settings for single-quotes on completion
2018-12-18 12:48:36 -02: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
Michael Alexsander Silva Dias
8f9447310d
Enable toggle behaviour for buttons that trigger popups
2018-12-11 19:23:26 -02: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