Commit graph

35252 commits

Author SHA1 Message Date
Rémi Verschelde
558f13e4f7
Merge pull request #49554 from timothyqiu/physical-bone-2d-init
Initialize PhysicalBone2D::parent_skeleton
2021-06-13 10:32:38 +02:00
Rémi Verschelde
56edf2d2a5
Merge pull request #49546 from KoBeWi/;_;
Fix some virtual methods
2021-06-13 10:31:03 +02:00
Rémi Verschelde
b536bac28e
Merge pull request #49556 from timothyqiu/joypad-button-range-check
Fix `InputEventJoypadButton::as_text` crash for invalid button index
2021-06-13 10:05:55 +02:00
Haoyu Qiu
a23610ad90 Fix crash when using invalid index in Color.get_named_color 2021-06-13 14:29:32 +08:00
Haoyu Qiu
42ad987bb7 Validate parameter of SkeletonModificationStack2D::add_modification 2021-06-13 14:07:01 +08:00
Haoyu Qiu
c727d40507 Fix InputEventJoypadButton::as_text crash for invalid button index 2021-06-13 13:53:11 +08:00
Haoyu Qiu
43f9253c53 Add range check for TileSet::CellNeighbor parameter 2021-06-13 13:30:27 +08:00
Haoyu Qiu
80927b7a81 Fix Viewport crashes when not in tree 2021-06-13 12:51:26 +08:00
Haoyu Qiu
9cbf066feb Initialize PhysicalBone2D::parent_skeleton 2021-06-13 12:10:11 +08:00
Juan Linietsky
ccaefbce55
Merge pull request #49551 from reduz/fix-roughness-limiter2
Make shader compile again after roughness limiter fix
2021-06-12 22:01:44 -03:00
reduz
ce783689f8 Make shader compiler again after roughness limiter fix
Fix shader compilation error after merging #49549
2021-06-12 21:40:51 -03:00
Juan Linietsky
bb94344937
Merge pull request #49549 from clayjohn/VULKAN-roughness-limiter
Fix roughness limiter derivative
2021-06-12 21:29:34 -03:00
Juan Linietsky
6feae6d219
Merge pull request #49547 from reduz/fix-voxelgi
Fix VoxelGI (works again).
2021-06-12 21:15:57 -03:00
kobewi
3911e71a52 Fix some virtual methods 2021-06-13 02:02:39 +02:00
clayjohn
9a5e00be6f Fix roughness limiter derivative 2021-06-12 17:02:05 -07:00
reduz
7513b73902 Fix VoxelGI (works again).
It was broken due to #46046, this makes it work again.
2021-06-12 20:37:56 -03:00
Rémi Verschelde
6d98f84abb
Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibility
Consistently prefix bound virtual methods with _
2021-06-12 23:00:40 +02:00
Rémi Verschelde
ac73059b56
Merge pull request #49123 from aaronfranke/it-is-time
Add a Time singleton
2021-06-12 22:55:25 +02:00
Rémi Verschelde
edee798628
Merge pull request #49544 from akien-mga/variantparser-stringname-compat
VariantParser: Fix reading StringNames with '&'.
2021-06-12 22:43:08 +02:00
Rémi Verschelde
2787ee634a
Merge pull request #49520 from pfertyk/issue-46278-empty-texture-crashes-godot
Validate texture in RendererStorageRD::free
2021-06-12 22:27:14 +02:00
Rémi Verschelde
02b3adc150
Merge pull request #49541 from Calinou/fix-game-camera-override-tooltip
Fix game camera override tooltips being swapped
2021-06-12 22:24:40 +02:00
Rémi Verschelde
326e483ef3
VariantParser: Fix reading StringNames with '&'.
Keep support for '@' for now for compatibility.

Fixes #49535.
Fixes #49542.
2021-06-12 22:13:35 +02:00
Moritz Kaltenbrunner
8168fdb8f6 Fixed crash on calling set_editor_draw without properly setup
SkeletonModification
2021-06-12 21:30:36 +02:00
Hugo Locurcio
d1c5dd5b68
Fix game camera override tooltips being swapped
Previously, the wrong tooltip was shown.

This also tweaks the tooltips' texts to be clearer and remove
references to "game" (since Godot is used for more than just games).
2021-06-12 19:39:34 +02:00
Rémi Verschelde
0024bb3f4e
Merge pull request #49538 from Calinou/doc-arraymesh-fix-duplicate-paragraph
Fix duplicate paragraph in `ArrayMesh.add_surface_from_arrays()` description
2021-06-12 19:09:56 +02:00
Hugo Locurcio
033985f9c2
Fix duplicate paragraph in ArrayMesh.add_surface_from_arrays() description 2021-06-12 17:48:56 +02:00
Yuri Roubinsky
19afaa0203 Fixed a bunch of connection errors in TextureEditorPlugin 2021-06-12 08:01:02 +03:00
Rémi Verschelde
fe7559f751
Merge pull request #49522 from JFonS/fix_surfacetool_tangents
Fix tangents array in SurfaceTool
2021-06-12 01:08:03 +02:00
kobewi
7ff135b015 Consistently prefix bound virtual methods with _ 2021-06-12 00:55:52 +02:00
jfons
336778ed21 Fix tangents array in SurfaceTool 2021-06-12 00:40:13 +02:00
Rémi Verschelde
243be93087
Merge pull request #47242 from sygi/bitmap-opaque-polygons
Bitmap opaque_to_polygons documentation
2021-06-11 23:44:47 +02:00
Rémi Verschelde
1b943dbea1
Merge pull request #49519 from Xrayez/filesystem-delete-for-everyone
Use "Delete" in FileSystemDock on all platforms
2021-06-11 23:35:45 +02:00
Rémi Verschelde
ab29e3af53
Merge pull request #49515 from Calinou/doc-projectsettings-vram-compression-change
Document applying VRAM compression setting changes retroactively
2021-06-11 23:35:12 +02:00
Hugo Locurcio
de39223503
Document applying VRAM compression setting changes retroactively 2021-06-11 22:47:50 +02:00
Paweł Fertyk
31cd42373b Validate texture in RendererStorageRD::free 2021-06-11 20:12:23 +02:00
Rémi Verschelde
530e069bc3
Merge pull request #49312 from RandomShaper/reference_to_ref_count
Rename `Reference` to `RefCounted`
2021-06-11 19:46:25 +02:00
Andrii Doroshenko (Xrayez)
77daadac1d Use "Delete" in FileSystemDock on all platforms
The consensus is that the per-platform strings are not so useful in the
first place, so it's better to revert back to "Delete" for every platform.
2021-06-11 20:35:10 +03:00
Rémi Verschelde
50d1e0ea99
Merge pull request #47835 from mortarroad/master-lossless-webp
Implement lossless WebP encoding
2021-06-11 19:34:36 +02:00
Juan Linietsky
5007ec433c
Merge pull request #49518 from reduz/fix-tangent-import
Fix tangent importing
2021-06-11 14:17:13 -03:00
reduz
c2138bdc87 Fix tangent importing
* Binormal compression was wrong.
2021-06-11 14:13:58 -03:00
Pedro J. Estébanez
04688b92ff Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
Morris Tabor
1bc1e94208 Implement lossless WebP encoding 2021-06-11 18:46:04 +02:00
Juan Linietsky
fbb5a541ef
Merge pull request #49421 from floppyhammer/fix-vram-compressed-mipmaps
Fix mipmaps of VRAM compressed textures
2021-06-11 12:35:00 -03:00
Aaron Franke
554c776e08
Reformat structure string operators
The order of numbers is not changed except for Transform2D. All logic is done inside of their structures (and not in Variant).

For the number of decimals printed, they now use String::num_real which works best with real_t, except for Color which is fixed at 4 decimals (this is a reliable number of float digits when converting from 16-bpc so it seems like a good choice)
2021-06-11 10:53:20 -04:00
Rémi Verschelde
8d4046929c
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11 16:51:10 +02:00
Rémi Verschelde
6b0183ec89
Merge pull request #49279 from Calinou/rename-string-is-abs-path-method
Rename `String.is_abs_path()` to `String.is_absolute_path()`
2021-06-11 15:58:16 +02:00
Rémi Verschelde
6107d9e180
Merge pull request #34566 from Heikki00/34541_to_json_precision
Increased String::num default decimal precision
2021-06-11 15:56:59 +02:00
Aaron Franke
f64fea1b23
Add Time singleton 2021-06-11 09:32:39 -04:00
sygi
a74791ed68 Add documentation to Bitmaps opaque_to_polygons. 2021-06-11 14:06:02 +01:00
Rémi Verschelde
e82a1113ab
Merge pull request #49338 from Chaosus/fix_property_editor_remake
Fix property editor to make changes if popup closed (remake)
2021-06-11 14:56:35 +02:00