Commit graph

4487 commits

Author SHA1 Message Date
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
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
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
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