Commit graph

29223 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
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
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
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
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
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
Ryan Roden-Corrent de3ad3b30e
Include gdscript warning name in the warning message.
Occasionally you want to ignore a warning with a `warning-ignore`
comment, and you have to go into the settings to look up what the
actual name of the warning is. This patch appends the warning name to
the end of the warning so you know what string to use to ignore it,
similar to other linters like pylint.

For example

```
"The signal 'blah' is declared but never emitted.";
```

is now

```
"The signal 'blah' is declared but never emitted. (UNUSED_SIGNAL)";
```
2020-07-06 07:22:34 -04:00
Marcel Admiraal a615d359e8 Clear a Bullet Area's overlappingObjects vector when removing an area
from a space.
2020-07-06 12:04:15 +01:00
Andrii Doroshenko (Xrayez) b399097ecc Fix editor crash when creating a custom resource from create dialog 2020-07-06 13:53:02 +03:00
Rémi Verschelde a8e330ea19
Merge pull request #40143 from GiantBlargg/master
Fix Mono PackedArray Marshalling
2020-07-06 00:58:56 +02:00
Rémi Verschelde eb1d4ea65d
Merge pull request #40145 from KoBeWi/bsm
Support built-in scripts for inspector categories
2020-07-06 00:48:06 +02:00
Tomasz Chabora 95b4f972e6 Support built-in scripts for inspector categories 2020-07-06 00:06:37 +02:00
Sergey Minakov 7b64f2df50 iOS Export: use relative path for res:// files 2020-07-06 00:56:29 +03:00
Daniel Doran c3b16e825c Fix Mono PackedArray Marshalling 2020-07-05 14:54:31 -06:00