Commit graph

29282 commits

Author SHA1 Message Date
Rémi Verschelde fb664c61f5
Merge pull request #40184 from madmiraal/fix-37702
Move Bullet physics query flush from Bullet space pre-tick callback to Bullet physics flush_queries()
2020-07-10 08:48:29 +02:00
Rémi Verschelde 0fa165f0c9
Merge pull request #40242 from JohanAR/png-16-srgb
Handle 16 bit PNG files in sRGB color space
2020-07-09 23:26:23 +02:00
Rémi Verschelde de794bfa3c
Merge pull request #40240 from Calinou/doc-packedscene-example-instance
Document how to instance a PackedScene and add it as a child
2020-07-09 23:04:21 +02:00
Rémi Verschelde 911c4fed76
Merge pull request #40239 from Calinou/doc-scene-tree-create-timer
Mention `SceneTree.create_timer()` in the Timer class documentation
2020-07-09 23:03:36 +02:00
Aman Jain f579057748 Refactor permissions and command line flags into separate methods 2020-07-09 16:34:08 -04:00
Johan Rastén e7e632cbed Handle 16 bit PNG files in sRGB format 2020-07-09 21:01:06 +02:00
Hugo Locurcio 23d929d540
Document how to instance a PackedScene and add it as a child
This information was already present in `@GDScript.preload()`,
but it's not easy to find.

This closes https://github.com/godotengine/godot-docs/issues/3338.
2020-07-09 20:05:33 +02:00
Aman Jain 78e003951a Utility methods for writing files to Gradle project. 2020-07-09 13:57:15 -04:00
Hugo Locurcio 1261f47c35
Mention SceneTree.create_timer() in the Timer class documentation
This closes https://github.com/godotengine/godot-docs/issues/2349
(as the linked method already contains an example).
2020-07-09 19:43:38 +02:00
Rémi Verschelde 006bb33b79
Merge pull request #40235 from nekomatata/gles2-errors-mesh-data
Fixed mesh data access errors in GLES2
2020-07-09 14:46:08 +02:00
Rémi Verschelde c074350609
Merge pull request #40232 from bruvzg/macos_transient
[macOS] Fix transient windows.
2020-07-09 14:27:15 +02:00
PouleyKetchoupp e19a3df98f Fixed mesh data access errors in GLES2
1. Removed errors in mesh_surface_get_array as it's supported now
2. More accurate errors in mesh_surface_get_blend_shapes
2020-07-09 13:41:57 +02:00
bruvzg bcc3c72d9c
[macOS] Fix transient windows. 2020-07-09 14:22:56 +03:00
Maganty Rushyendra c1d5c7727c Emit signals for GraphEdit multi-node selection and unselection
Emit `node_selected` and `node_deselected` signals where appropriate
when selecting or unselecting multiple GraphEdit nodes at once.
2020-07-09 19:15:27 +08:00
Rémi Verschelde 25858f3607
Merge pull request #40226 from bruvzg/deep_exclusive_child_fix
Fix exclusive child focus grab, when there are more than two child windows.
2020-07-09 11:09:33 +02:00
Rémi Verschelde 3169fe75e8
Merge pull request #40225 from nekomatata/keep-command-line-options
Keep debug & verbose options after loading project from project manager
2020-07-09 11:07:31 +02:00
bruvzg 9ffc1c19ad
Fix exclusive child focus grab, when there are more than two child windows. 2020-07-09 11:18:56 +03:00
PouleyKetchoupp b2d27214aa Keep debug & verbose options after loading project from project manager 2020-07-09 09:51:32 +02:00
Rémi Verschelde d629b17291
Merge pull request #40215 from naithar/feature/ios-storyboard-usage-master
[4.0] [iOS] Option to use storyboards for launch screens
2020-07-09 08:36:01 +02:00
Hugo Locurcio 20af28ec06
Enable file logging by default on desktops to help with troubleshooting
- Use the `.log` file extension (recognized on Windows out of the box)
  to better hint that generated files are logs. Some editors provide
  dedicated syntax highlighting for those files.
- Use an underscore to separate the basename from the date and
  the date from the time in log filenames. This makes the filename
  easier to read.
- Keep only 5 log files by default to decrease disk usage in case
  messages are spammed.
2020-07-08 18:57:25 +02:00
Daniel Ting d6c979d91b Do not try to save internal scripts
Fixes #40175
2020-07-08 11:53:18 -05:00
Bob Gardner 660a780c3b
Update Resource.xml to explain behavior of duplicate when subresources is true and a subresource contains further nested resources.
Updated documentation for duplicate() on Resource to better explain the behavior. As per #30385.
2020-07-08 09:51:51 -07:00
Marcel Admiraal f31b2a1bba Move Bullet physics query flush from Bullet space pre-tick callback to
Bullet physics flush_queries() as is done in Godot physics, and remove
the pre-tick callback.
2020-07-08 11:39:41 +01:00
Rémi Verschelde 18c51d3f0c
Merge pull request #40144 from naithar/feature/xcode-reference-path
[iOS] Use assets path relative to project's
2020-07-08 08:22:24 +02:00
Maganty Rushyendra be3a1769fe Fix repeated updates of PathFollow3D Transform
Add optional parameter to specify whether applying rotation to the
PathFollow3D's Transform is necessary, preventing erroneous updates.
2020-07-08 10:06:02 +08:00
coldragon f2a01b0c6b Fix crash on editor without a feature profile 2020-07-07 17:45:12 +02:00
Rémi Verschelde d0e0a19e4d
Merge pull request #40174 from akien-mga/stb_vorbis-fix-comment-oom-crash
stb_vorbis: Add missing error checks in comment reading mallocs
2020-07-07 12:16:59 +02:00
Rémi Verschelde bd3a468fc2
Merge pull request #39726 from AndreaCatania/add_body_impr_physics
Optimized physics object spawn time
2020-07-07 12:15:09 +02:00
Rémi Verschelde 480cb25961
Merge pull request #39735 from AndreaCatania/bullet_phy_add_api
Added BulletPhysics APIs to return internal objects.
2020-07-07 12:13:51 +02:00
Rémi Verschelde 24a01c0d39 stb_vorbis: Add missing error checks in comment reading mallocs
Backported from https://github.com/nothings/stb/pull/989.

Fixes #40164.
2020-07-07 11:47:02 +02:00
Rémi Verschelde 624eff4633
Merge pull request #32144 from aaronfranke/poolarray
Add sort and has methods to PackedArrays
2020-07-07 09:09:38 +02:00
Aaron Franke af80bcd2f8
Add sort and has methods to PackedArrays 2020-07-06 22:16:39 -04:00
Rémi Verschelde 141ce4d1f9
Merge pull request #40151 from nathanfranke/fix-directory-open-check
Fix Directory Open Check
2020-07-07 01:28:11 +02:00
Sergey Minakov 96e204bb0d iOS Export: Storyboard custom values 2020-07-07 02:00:08 +03:00
Sergey Minakov d4c541c25a iOS Export: add option to use storyboard for launch screen 2020-07-07 01:46:26 +03:00
Rémi Verschelde b96b0d90d7
Merge pull request #40162 from vnen/autoloads-list
Add a map of autoloads to ProjectSettings
2020-07-07 00:12:59 +02:00
Rémi Verschelde b8b634d2e6
Merge pull request #40171 from SkyLucilfer/PotGenerationFixLeak
Fix GDScriptEditorTranslationParserPlugin instance leak
2020-07-07 00:09:46 +02:00
Rémi Verschelde f706156329
Merge pull request #40160 from pycbouh/fix-pnode-is-null
Improve null check in FindReplaceBar
2020-07-06 23:47:44 +02:00
Rémi Verschelde b00e8ffb22
Merge pull request #40163 from pycbouh/fix-saving-empty-scene
Improve scene preview generation for empty scenes and disabled features
2020-07-06 22:52:49 +02:00
SkyJJ e9c8bf5e1b Fix GDScriptEditorTranslationParserPlugin instance leak 2020-07-06 22:40:52 +02:00
Rémi Verschelde b5a73c9e5c
Merge pull request #40157 from madmiraal/fix-39765
Clear a Bullet Area's overlappingObjects vector when removing an area from a space.
2020-07-06 19:16:51 +02:00
Nathan Franke 09aeb7706b
Fix Directory Open Check 2020-07-06 11:32:05 -05:00
Rémi Verschelde f8c066e97e
Merge pull request #37619 from pycbouh/expose-plugin-run-scene
Expose methods to play scenes from plugin code
2020-07-06 18:13:23 +02:00
Yuri Sizov 6c8a9b7690 Improve scene preview generation for empty scenes and disabled features 2020-07-06 18:55:24 +03:00
George Marques 9654365547
Add a map of autoloads to ProjectSettings
So places that need to look into it can use the list instead of parsing
ProjectSettings details (like checking "*" in path for testing if it's
singleton).
2020-07-06 12:35:51 -03:00
Rémi Verschelde a535b9160d
Merge pull request #40155 from rcorre/warning-names
Include gdscript warning name in the warning message.
2020-07-06 16:49:54 +02:00
Rémi Verschelde 80582d1f82
Merge pull request #40116 from ThakeeNathees/editor-crash-on-super-constructor
Fix: editor crash on super constructor called
2020-07-06 16:45:37 +02:00
Yuri Sizov 49f6dc5004 Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
Yuri Sizov e94b8a6acc Improve null check in FindReplaceBar 2020-07-06 17:13:04 +03:00
Rémi Verschelde b43fb407b1
Merge pull request #40156 from Xrayez/fix-resource-create-crash
Fix editor crash when creating a custom resource from create dialog
2020-07-06 13:41:41 +02:00