Commit Graph

42808 Commits

Author SHA1 Message Date
bde6fc9c82 Restructure and refine the noise module 2022-04-19 19:49:48 +02:00
3ca4514866 Merge pull request #50175 from kleonc/image-blit-blend-fix-rects
`Image.blit_rect/blend_rect` Fix rects calculations for negative arguments
2022-04-19 16:30:08 +02:00
a7b152d15b Merge pull request #60329 from Calinou/aspectratiocontainer-add-property-hint 2022-04-19 16:03:36 +02:00
1274e54bf9 Merge pull request #60363 from Rindbee/fix-incorrect-property-label-with-feature-tags 2022-04-19 15:47:18 +02:00
1d2177938d Merge pull request #59984 from BastiaanOlij/more_storage_20220407
More work on splitting up RendererStorage
2022-04-18 21:27:46 -07:00
5905993191 Merge pull request #60315 from fire-forge/noise-enum-names
Add spaces to FastNoiseLite enum hint names
2022-04-18 21:19:30 -07:00
d97236bfca Fixes incorrect display of property labels with feature tags
Closes #60352
2022-04-19 09:08:56 +08:00
d1c2a0df4e Add a property hint for AspectRatioContainer's ratio property
Zero or negative ratios are not valid, so the property hint prevents
choosing such values.

The property hint allows using 4 decimals so that common aspect ratios
like 16/9 can be specified with a good level of precision.
2022-04-17 22:03:47 +02:00
690fefe43e Merge pull request #60310 from HookJabs/unz_file_read_failure 2022-04-17 10:49:22 +02:00
6fac7158d6 Add spaces to FastNoiseLite enum hint names 2022-04-16 23:51:23 -05:00
0b4fd92a17 Moved particles into ParticlesStorage 2022-04-17 13:13:22 +10:00
b6faf6c6c0 Move light, reflection probe and lightmap into LightStorage 2022-04-17 13:13:18 +10:00
6b28d94e77 Merge canvas and decal into TextureStorage and add render target 2022-04-17 12:59:50 +10:00
0bff53135a Unzip read success no longer breaks read loop
unzReadCurrentFile(3) returns number of bytes read, so the current code only processes the file if no bytes were read (UNZ_OK is a #define equal to 0).
I've altered the break to occur only on unsuccessful read, (when unzReadCurrentFile(3) returns less than zero), and added an error message for when an unsuccessful read occurs.
2022-04-16 16:39:37 -07:00
f7ca732df1 Merge pull request #60308 from TokageItLab/remove-exp-map-in-blending
Discontinue exp map in blending
2022-04-17 00:23:28 +02:00
3ce843c128 Discontinue exp map in blending 2022-04-17 04:34:28 +09:00
50bb1846d0 Merge pull request #60267 from timothyqiu/timestamp-fraction
Document timestamp decimal fraction in `Time`
2022-04-16 08:32:04 +02:00
92eceb45ec Merge pull request #60281 from Calinou/viewport-audio-listener3d-fix-property-grouping
Fix the Audio Listener 3D property not being grouped with 2D in Viewport
2022-04-16 08:27:13 +02:00
1b891069cd Document timestamp decimal fraction in Time 2022-04-16 13:14:58 +08:00
52d6a7a7ff Fix the Audio Listener 3D property not being grouped with 2D in Viewport 2022-04-16 02:22:58 +02:00
3d8c971ff8 Merge pull request #60215 from rohanrhu/fix-invalid-datetime-crash
Fix crash when parsing invalid datetime string
2022-04-15 22:56:55 +02:00
2b8eb126b4 Quick fix: Crash when parsing invalid datetime string #60189 2022-04-15 23:30:34 +03:00
3639c27cf1 Merge pull request #60235 from TokageItLab/fix-value-track-blend
Fixed blending value track without RESET and TRS3D track with RESET
2022-04-15 09:09:27 +02:00
7032b111ce Merge pull request #60007 from aaronfranke/gds-op-adj-tr3d
GDScript: Rename OPCODE_TYPE_ADJUST_TRANSFORM to have a 3D suffix
2022-04-15 08:17:27 +02:00
97a8d07857 Merge pull request #60241 from kleonc/navmap-reset-least_cost_id
`NavMap::get_path` Fix not resetting `least_cost_id`
2022-04-14 21:28:07 +02:00
7a4c203ce9 Merge pull request #60225 from YeldhamDev/popmenu_arrow_slim
Reduce width of arrow icons for the default theme in `PopupMenu`
2022-04-14 21:24:21 +02:00
9ab69b89f8 NavMap::get_path Fix not resetting least_cost_id 2022-04-14 17:13:53 +02:00
0fe723a1ac Fixed value track blend animation without RESET 2022-04-14 19:01:00 +09:00
12cb05b304 Merge pull request #60227 from YeldhamDev/popmenu_sep_font
Add `font_separator` and related properties to `PopupMenu`
2022-04-14 10:22:56 +02:00
bab2f3c021 Add font_separator and related properties to PopupMenu 2022-04-13 23:46:35 -03:00
c088e2f416 Reduce width of arrow icons for the default theme in PopupMenu 2022-04-13 23:22:46 -03:00
3b57c2ce6b Merge pull request #60221 from YeldhamDev/grid_toplevel_fix
Fix `GridContainer` not ignoring toplevel children
2022-04-14 00:33:52 +02:00
321213d863 Merge pull request #60220 from YeldhamDev/the_line_must_be_drawn_here
Fix and tweak labeled separator in `PopupMenu`
2022-04-14 00:15:23 +02:00
c7922af4e5 Merge pull request #60203 from RedHeadphone/master
Fix Time.get_datetime_string_from_dict() does not validate input
2022-04-14 00:14:32 +02:00
bd9ba4bd10 Merge pull request #60208 from Magorx/input-set-custom-mouse-cursor-fix
Added p_shape check to avoid engine crash in DisplayServer
2022-04-14 00:12:51 +02:00
506d8ba526 Fix GridContainer not ignoring toplevel children 2022-04-13 18:09:51 -03:00
970debed93 Merge pull request #60177 from reduz/animation-library-import
Import scenes as AnimationLibrary
2022-04-13 22:47:54 +02:00
8ada85ef1d Merge pull request #60093 from TokageItLab/reset-blend
Make blend animation to use ResetTrack as default value
2022-04-13 22:46:45 +02:00
59c3d4e17f Fix and tweak labeled separator in PopupMenu 2022-04-13 17:13:29 -03:00
8fee88947e Merge pull request #60213 from JFonS/fix_depth_state 2022-04-13 18:28:49 +02:00
312b70115a Merge pull request #60211 from timothyqiu/al-rename 2022-04-13 18:28:34 +02:00
853e651b28 Merge pull request #60209 from ConteZero/select_all_null 2022-04-13 18:17:52 +02:00
d999116054 Merge pull request #60191 from novaplusplus/file-open-fix 2022-04-13 17:42:41 +02:00
259e50f447 Fix regression in rasterizer state
Fixes a regression introduced by the color pass flags rework. The various rasterizer state structs were not being reset for each flag combination, which meant some state changes were wrongly applied to some flag combinations.
2022-04-13 16:21:40 +02:00
bdfb3884ff Fix parameter validation when renaming in AnimationLibrary 2022-04-13 22:14:47 +08:00
6530e55f2d Fix select_all() crash in RichTextLabel 2022-04-13 15:41:34 +02:00
66009318e0 Import scenes as AnimationLibrary
Added the ability to import scenes as AnimationLibrary

* Completes implementation of https://github.com/godotengine/godot-proposals/issues/4296
* Helps if you want to export animations to a separate file (say a GLTF) to avoid re-importing/exporting them every time the model changes.
* Helps if you simply want to have animations using a dummy model, which can be shared across multiple models.

Creates a secondary scene importer used only for animations.

**NOTE**: A new flag for scene importer: EditorSceneFormatImporter.IMPORT_DISCARD_MESHES_AND_MATERIALS has been added, to hint importers that they should skip meshes and animations (and hence make importing faster). It is not implemented in any importer yet, this should be done in a separate PR.
2022-04-13 15:06:56 +02:00
1a3cb23955 Fix "File must be opened" error with File.open() 2022-04-13 08:51:07 -04:00
29a2809d21 Added p_shape check to avoid engine crush 2022-04-13 14:50:30 +03:00
d27f60f0e8 Merge pull request #60199 from akien-mga/color-clarify-srgb-linear-conversions 2022-04-13 13:41:21 +02:00