Commit graph

1113 commits

Author SHA1 Message Date
marxin
7ae160f661 Fix 2 more UBSAN issues (#25217). 2019-02-14 20:47:35 +01: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
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
PouleyKetchoupp
9418f6a557 Fixed undefined setting values when loading dynamic fonts 2019-02-12 23:21:48 +01: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
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
Michael Alexsander Silva Dias
e322fd140e Add disabled tab style 2019-02-10 18:12:17 -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
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
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
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
Bastiaan Olij
edc5628541 Hide new sky properties if we don't have sky as a background 2019-02-06 21:27:31 +11:00
clayjohn
b78a384921 change hint_color to hint_albedo for sampler2ds 2019-02-04 22:12:25 -08: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
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
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
433b8ee526 doc: Sync classref with current source 2019-01-26 22:21:53 +01: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
32fa136cc7 Ability to keep images in ImageTexture cached while using editor, fixes #25243 2019-01-25 13:40:23 -03:00
Fabian
01170c911c Added copy_theme and fixed bugs in copy theme introduced by #2e0a94e 2019-01-25 13:14:06 +10:30
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
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
Juan Linietsky
e081cec69f Fix collision margin being wrongly read by default, fixes #25181 2019-01-22 10:15:18 -03:00
Juan Linietsky
3eb0757552 Modified code generation to be more friendly to previews, fixes #25094 2019-01-21 16:10:23 -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
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
Michael Alexsander Silva Dias
9c69d7f339 Appease some CppCheck warns for files in the "scene" directory 2019-01-16 12:59:18 -02:00
Stanislav
3beca92d61 Fixed typo in ImageTexture:: & StreamTexture::is_pixel_opaque
Fixes #24946
2019-01-15 12:28:50 +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
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
volzhs
a9b7843dca Fix font kerning 2019-01-05 09:44:47 +09: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
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture 2019-01-03 13:09:25 +01: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
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
2e39e38c10 doc: Sync classref with current source
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
harrisyu
9d6f16e864 Fix #24470 Atlas Texture with margin setting cause error in editor. 2018-12-20 21:40:40 +08:00