Commit graph

35398 commits

Author SHA1 Message Date
Kodi 69e1f25299 Fix typo in CUSTOM_IRRADIANCE calculations 2021-06-15 15:17:00 -04:00
Rémi Verschelde 1cc6385858
Merge pull request #49624 from nekomatata/fix-sub-resource-cache
Fix sub-resource storing the wrong index in cache
2021-06-15 20:38:34 +02:00
PouleyKetchoupp 3c3d7380e2 Fix sub-resource storing the wrong index in cache
The subindex within Resource wasn't synchronized with the path stored
in cache when saving a packed scene. It could cause sub-resources to be
swapped when loading the same packed scene in the same session.

Now the subindex in Resource reflects the sub-resource path in cache,
making saving and loading sub-resources consistent.

Co-authored-by: latorril <latorril@gmail.com>
2021-06-15 09:55:16 -07:00
Rémi Verschelde e312df0972
Fix build after merge of #48598 2021-06-15 18:37:12 +02:00
Rémi Verschelde 3f01b38185
Merge pull request #48597 from Calinou/editor-scale-auto-portrait
Handle portrait mode monitors in the automatic editor scale detection
2021-06-15 18:27:48 +02:00
Rémi Verschelde 5bd0692d0c
Merge pull request #48598 from Calinou/animation-track-editor-improve-scrolling
Improve scrolling actions in the animation track editor
2021-06-15 18:27:06 +02:00
Rémi Verschelde 9f1f59570c
Merge pull request #48619 from Calinou/editor-autoload-rename-singleton
Rename "Singleton" to "Global Variable" in the AutoLoad editor
2021-06-15 18:25:38 +02:00
Rémi Verschelde b574d29ed2
Merge pull request #48681 from Calinou/doc-audioeffectpitchshift
Complete documentation for the AudioEffectPitchShift class
2021-06-15 18:25:07 +02:00
Rémi Verschelde a40522d738
Merge pull request #49619 from KoBeWi/virtual_police
Validate that all virtual methods start with _
2021-06-15 18:22:46 +02:00
kobewi 7c84aa1101 Validate that all virtual methods start with _ 2021-06-15 17:47:30 +02:00
Umang Kalra 5e8d31ef0e Fixes missing descriptions in search window of visualscript 2021-06-15 20:30:54 +05:30
Rémi Verschelde c2ba60f31a
Merge pull request #48682 from Calinou/doc-audio-generation
Improve AudioStreamGenerator and AudioEffectSpectrumAnalyzer documentation
2021-06-15 16:55:14 +02:00
Rémi Verschelde fed31b1827
Merge pull request #49616 from BastiaanOlij/more_rename_transform
Adding some more missing renames for Transform3D and Quaternion
2021-06-15 16:50:52 +02:00
Rémi Verschelde 7a85e95a4b
Merge pull request #48998 from kleonc/Node-add_child-fix
Node.add_child Check for cyclic dependency
2021-06-15 16:27:18 +02:00
Rémi Verschelde acdcd37ad2
Merge pull request #49003 from Calinou/editor-freelook-fix-redrawing-when-not-moving
Fix editor constantly redrawing when freelook is active with still camera
2021-06-15 16:27:08 +02:00
Rémi Verschelde 1129439f09
Merge pull request #49011 from KoBeWi/totally_h
Fix valign with stylebox borders
2021-06-15 16:25:49 +02:00
Bastiaan Olij 2161fd117b
Adding some more missing renames for Transform3D and Quaternion 2021-06-15 16:01:50 +02:00
Rémi Verschelde 69553166ea
Merge pull request #49083 from foxydevloper/make-easing-line-smooth
Make easing properties drawn with anti aliasing
2021-06-15 15:44:39 +02:00
Rémi Verschelde 78a2d3a967
Merge pull request #49107 from timothyqiu/circular-structure
Fix json dump and print of circular structure
2021-06-15 15:43:55 +02:00
Rémi Verschelde fbdb1e0bab
Merge pull request #49108 from LightningAA/reload-current-project-4.0
Add the ability to reload the current project
2021-06-15 15:40:52 +02:00
Rémi Verschelde b5da5543db
Merge pull request #49292 from KoBeWi/you_changed,_animation
Clarify animation_changed signal
2021-06-15 15:34:51 +02:00
Rémi Verschelde 9f8d892e4e
Merge pull request #49310 from foxydevloper/add-drag-threshold-select-mode
Prevent accidental drags by adding drag distance threshold
2021-06-15 15:34:28 +02:00
Rémi Verschelde 529bf43134
Merge pull request #49432 from Calinou/tweak-physics-fps-property-hint
Tweak the physics FPS property hint to only allow reasonable values
2021-06-15 15:19:24 +02:00
Rémi Verschelde e479abeb98
Merge pull request #49437 from Calinou/graphedit-allow-higher-lower-zoom-values
Allow higher and lower maximum zoom values in GraphEdit
2021-06-15 15:18:17 +02:00
Rémi Verschelde be787e140e
Merge pull request #49482 from unsignedFoo/49451-fix-selection-changed-multinodeeditor
Fix  SceneTreeDock::_selection_changed to handle to single selection from Multiple Selection
2021-06-15 15:07:52 +02:00
Rémi Verschelde 7efde449b2
Merge pull request #49508 from kleonc/texture_button-updating-min_size
TextureButton Update min size on any texture change
2021-06-15 15:01:16 +02:00
Rémi Verschelde 3942ea68a8
Merge pull request #49604 from pfertyk/issue-49453-wrong-recent-directory-names
Remove trailing slash from recent dir if needed
2021-06-15 14:58:05 +02:00
Rémi Verschelde 91d6382786
Merge pull request #49594 from bruvzg/macos_app_category
Add LSApplicationCategoryType to the template and export dialog.
2021-06-15 14:53:42 +02:00
Rémi Verschelde cbcdda60c0
Merge pull request #49570 from RandomShaper/fix_slow_scene_io 2021-06-15 14:51:24 +02:00
Rémi Verschelde db0816e129
Merge pull request #49459 from akien-mga/fixup-editor-paths-settings 2021-06-15 14:35:37 +02:00
Rémi Verschelde 655516c758
Merge pull request #49612 from SpaghettiCoder01/49517-add-shift-backspace-support
Added InputMap entry for backspacing using Shift+Backspace
2021-06-15 09:17:48 +02:00
SpaghettiCoder01 5b81af09dc Added Input_Map entry for backspacing using Shift+Backspace 2021-06-15 04:30:49 +01:00
Rémi Verschelde 4e582f9a7c
Merge pull request #49388 from pycbouh/theme-editor-better-previews
Overhaul the theme editor and improve user experience
2021-06-15 00:13:20 +02:00
Rémi Verschelde 72f39e31b1
Merge pull request #49593 from bruvzg/tga_loader_fixes
Fix loading RLE compressed TGAs and invalid memory reads.
2021-06-15 00:08:35 +02:00
Rémi Verschelde 5da885e1f7
Merge pull request #49582 from timothyqiu/codeedit-update-cache
Update cache after clearing delimiters in CodeEdit
2021-06-15 00:05:59 +02:00
Rémi Verschelde 88e671e0b7
Merge pull request #49592 from Faless/js/4.x_fix_sigs
[HTML5] Fix build without eval, library functions signatures.
2021-06-15 00:01:54 +02:00
Yuri Sizov d0e86c7afc Overhaul the theme editor and improve user experience 2021-06-14 21:46:30 +03:00
Rémi Verschelde 1074017f04
Refactor editor paths validation in EditorPaths and EditorSettings
- EditorSettings: Ensure that `create()` makes a valid singleton.
  Fixes #49179, fixes #49450.
- EditorPaths: Cleanup code, properly set `paths_valid`.
- EditorPaths: Move more paths validation (check, mkdir) from
  EditorSettings for a better separation of concerns.
- EditorPaths: Move EditorFileSystem creation of `.godot/imported`
  next to other paths.
2021-06-14 19:56:20 +02:00
Tomasz Chabora 5e7f963923 Make closing current scene faster 2021-06-14 19:48:15 +02:00
Rémi Verschelde 16027e7cf4
Merge pull request #49572 from azagaya/fix_grabber_area
Fix vertical slider grabber_area height calculation
2021-06-14 19:22:25 +02:00
Rémi Verschelde dedb314abb
Merge pull request #49586 from timothyqiu/iter-invalidate
Fix crash when using TileMap::fix_invalid_tiles
2021-06-14 19:18:47 +02:00
Rémi Verschelde ec323f0ef4
Merge pull request #49584 from timothyqiu/shader-data-null-check
Add missing null check for ShaderData
2021-06-14 19:18:20 +02:00
Rémi Verschelde aa43b5a3f4
Merge pull request #48287 from aaronfranke/camera-is-frustum 2021-06-14 19:05:43 +02:00
Rémi Verschelde 3f613236e0
Merge pull request #49576 from clayjohn/VULKAN-SSAO-uniform-sets
Store SSAO uniform sets per viewport
2021-06-14 19:05:19 +02:00
Rémi Verschelde f7fa5a0e3a
Merge pull request #49600 from vnen/gdnative-api-generator-var-writer
GDNative: Use VariantWriter for the API JSON generator
2021-06-14 18:43:54 +02:00
Rémi Verschelde 0610c559ec
Merge pull request #49585 from timothyqiu/oh-unsigned
Fix invalid read when using MultiMesh
2021-06-14 18:35:36 +02:00
Rémi Verschelde 0c4e8025ab
Merge pull request #49595 from Faless/js/4.x_npm_update
[HTML5] Update eslint and jsdoc dependencies.
2021-06-14 18:33:17 +02:00
Rémi Verschelde 07b8fffa7c
Merge pull request #49458 from JFonS/fix_unwrap_xform
Rename get_parent_spatial() to get_parent_node_3d()
2021-06-14 18:32:33 +02:00
Aaron Franke bd40474bd6
Add is_position_in_frustum to Camera3D 2021-06-14 12:03:18 -04:00
Paweł Fertyk 709e71ae9c Remove trailing slash from recent dir if needed 2021-06-14 17:51:57 +02:00