JFonS
f7dadc4796
Add caching the lightmap unwrapping on import
...
This commit adds caching to the lightmap mesh unwraps generated on
import. This speeds up re-imports of meshes that haven't changed and
also makes sure that the unwraps are consistent across imports.
The unwrapping process is not deterministic, so one could end up with
a different mapping every time the scene was imported, breaking any
previously baked lightmaps. The changes in this commit prevent that
from happening.
2020-04-22 15:34:00 +02:00
PouleyKetchoupp
72ee09082c
Fix get_active_material when a material is directly set on the mesh
...
Makes MeshInstance3D::get_active_material consistent with the logic
in the rendering system.
Fixes #38108
2020-04-22 14:35:25 +02:00
Hugo Locurcio
a225265b0a
Document how some editor classes should be accessed as singletons only
...
This closes #37687 .
2020-04-22 11:39:59 +02:00
Hugo Locurcio
eecce139ea
Set the title
tag in the HTML5 export immediately
...
This makes the project title display without having to wait for
the project to finish loading.
2020-04-22 11:31:14 +02:00
Hugo Locurcio
3566fe1e66
Document the CameraEffects class
2020-04-22 11:23:50 +02:00
Rémi Verschelde
f989a43135
Merge pull request #38086 from volzhs/seek-animation-finished
...
Emit signal when animation ends by seek
2020-04-22 10:07:29 +02:00
Rémi Verschelde
02200e2865
Merge pull request #38101 from dankan1890/quick_fix
...
Fixed output prints " Signal 'node_removed' is already connected "
2020-04-22 10:04:49 +02:00
Andrea Catania
4d8a3839d0
Removed noisy ERR check from Multiplayer API.
2020-04-22 08:12:58 +02:00
dankan1890
ef08e64afb
Fixed output prints " Signal 'node_removed' is already connected " when the editor settings window is closed.
...
Close #38012
2020-04-22 04:26:44 +02:00
Rémi Verschelde
f914276951
Merge pull request #37537 from ThakeeNathees/const-parsing-datatype-bug-fix
...
GDScript: Fix type inference for const reference to global class
2020-04-21 23:04:46 +02:00
Rémi Verschelde
9716204555
Merge pull request #37712 from stoofin/pattern-bind-warning
...
Fix unassigned variable warnings for match bindings
2020-04-21 23:04:16 +02:00
Rémi Verschelde
9a283f7e71
Merge pull request #37202 from JFonS/update_joint_gizmos
...
Update Joint gizmos automatically
2020-04-21 23:04:04 +02:00
Rémi Verschelde
0912bf110f
Merge pull request #38096 from muiroc/ds_singleton
...
Register the DisplayServer Singleton
2020-04-21 23:03:06 +02:00
Rémi Verschelde
acfca3b77b
Merge pull request #38091 from RandomShaper/fix_jpgd_msvc2017
...
Fix compilation of jpgd.cpp on MSVC 2017
2020-04-21 23:00:53 +02:00
muiroc
66ab577eb8
Register the DisplayServer Singleton
2020-04-21 22:04:12 +02:00
jfons
3e77b6d49d
Update Joint gizmos automatically
2020-04-21 21:51:33 +02:00
Rémi Verschelde
bb9d89d78c
Merge pull request #38089 from YeldhamDev/scenedock_local_fix
...
Fix "Local" button not being pressed in the Scene dock on first run
2020-04-21 21:17:35 +02:00
Pedro J. Estébanez
1e5a93a416
Fix compilation of jpgd.cpp on MSVC 2017
2020-04-21 21:12:09 +02:00
Aaron Franke
23a349c427
Improve the Vector2 rotated code
2020-04-21 14:06:41 -04:00
Michael Alexsander
f1244ce944
Fix "Local" button not being pressed in the Scene dock on first run
2020-04-21 15:03:42 -03:00
Rémi Verschelde
cb1ae08c14
Merge pull request #38083 from reduz/use-typed-arrays
...
Add proper type to most public API uses of Array
2020-04-21 18:47:34 +02:00
volzhs
bf1cc116e1
Emit signal when animation ends by seek
2020-04-22 00:45:44 +09:00
Juan Linietsky
f8ef38efed
Add proper type to most public API uses of Array
2020-04-21 12:16:45 -03:00
Rémi Verschelde
4f03e302a7
Merge pull request #38041 from ThakeeNathees/class-name-check-enhance
...
GDScript class name existance check enhanced
2020-04-21 16:19:53 +02:00
Rémi Verschelde
a5a9bf6a19
Merge pull request #37955 from ThakeeNathees/lin-unsafe-base-know-index-unkonwn
...
Line marked unsafe when base known and index unkonwn
2020-04-21 16:19:34 +02:00
Rémi Verschelde
9cad835880
Merge pull request #37954 from ThakeeNathees/autocomplete-indexing-native-types
...
Autocompleting with indexing for builtin types added
2020-04-21 16:19:07 +02:00
Tomasz Chabora
f6aec99d27
Mention how to remove TreeItem from a Tree
2020-04-21 15:31:21 +02:00
bruvzg
fdad0e3bd1
Git Hooks: Add support for GUI git clients.
...
[ci skip]
2020-04-21 16:24:33 +03:00
Rémi Verschelde
79f82bd742
Merge pull request #38063 from reduz/implement-typed-arrays
...
Add ability to bind typed arrays to script API
2020-04-21 15:23:35 +02:00
Rémi Verschelde
ebe38044fd
enet: Update to upstream version 1.3.15
2020-04-21 12:27:11 +02:00
Rémi Verschelde
1061cf9f66
Merge pull request #38072 from akien-mga/jpgd-fuzzed
...
jpgd: Upgrade to upstream 2.00, fuzzed with zzuf and afl
2020-04-21 12:27:06 +02:00
Rémi Verschelde
f2c32f7e57
Merge pull request #38069 from akien-mga/mbedtls-2.16.6
...
mbedtls: Update to upstream version 2.16.6
2020-04-21 12:16:50 +02:00
Rémi Verschelde
c842ddcf76
jpgd: Upgrade to upstream 2.00, fuzzed with zzuf and afl
2020-04-21 11:38:29 +02:00
Rémi Verschelde
6b00357d53
mbedtls: Update to upstream version 2.16.6
...
Fixes https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-04
2020-04-21 10:37:14 +02:00
Juan Linietsky
5d4dc2d45c
Add ability to bind typed arrays to script API
...
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells
Note: Will do a mass replace on later PRs of whathever I can find, but probably need
a tool to grep through doc.
Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
2020-04-21 10:15:40 +02:00
Rémi Verschelde
7343ec13d9
Merge pull request #38047 from akien-mga/mono-docdata-hack
...
DocData: Keep Mono properties on non-Mono builds
2020-04-21 09:55:36 +02:00
Juan Linietsky
40b2aea222
Merge pull request #38032 from reduz/rendering-device-binds
...
Exposed RenderingDevice to script API
2020-04-20 22:03:11 -03:00
Juan Linietsky
ae09b55a19
Exposed RenderingDevice to script API
...
Also added an easier way to load native GLSL shaders.
Extras:
Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload.
Note:
The precommit hooks are broken because they don't seem to support enums from one class being used in another.
Feel free to fix this after merging this PR.
2020-04-20 21:21:58 -03:00
Rémi Verschelde
6d8e1aea89
Merge pull request #37989 from Calinou/add-freelook-navigation-scheme-settings
...
Add editor freelook navigation scheme settings
2020-04-20 23:57:34 +02:00
Rémi Verschelde
114ffb19e6
Merge pull request #37982 from DrMoriarty/fix_square_resize
...
Fix square image resize
2020-04-20 23:56:23 +02:00
Rémi Verschelde
52b27da7a6
Merge pull request #37974 from Calinou/doc-backbuffercopy-anchors
...
Document how to workaround UI anchor issues when using BackBufferCopy
2020-04-20 23:51:47 +02:00
Rémi Verschelde
b372227f06
Merge pull request #37972 from Calinou/doc-improve-resourcesaver-example
...
Check for errors when saving in the ResourceSaver example documentation
2020-04-20 23:51:04 +02:00
Rémi Verschelde
ae92d149a3
Merge pull request #37971 from Calinou/doc-improve-visibility-enabler-notifier
...
Improve the VisibilityEnabler and VisibilityNotifier documentations
2020-04-20 23:50:21 +02:00
Rémi Verschelde
2905367fed
Merge pull request #37970 from SkyLucilfer/ServerTypo
...
Correct typo mistake of profiler_add_frame_data argument in physics 3d server
2020-04-20 23:49:36 +02:00
Rémi Verschelde
58a8ca5298
Merge pull request #38060 from akien-mga/fix-gcc-Wmaybe-uninitialized
...
Fix more GCC -Wmaybe-uninitialized warnings
2020-04-20 23:47:53 +02:00
Rémi Verschelde
b4855f5c83
Merge pull request #38056 from clayjohn/GLES2-depth-buffer
...
Use proper depth buffer format for rgba shadows
2020-04-20 23:47:24 +02:00
Rémi Verschelde
94f0c62789
Fix more GCC -Wmaybe-uninitialized warnings
...
Fixes #38005 .
2020-04-20 22:34:20 +02:00
clayjohn
123dd390e4
Use proper depth buffer format for rgba shadows
2020-04-20 11:58:59 -07:00
Rémi Verschelde
4e4fcbd793
Merge pull request #38045 from akien-mga/fix-subgroup-property
...
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
2020-04-20 19:06:02 +02:00
Rémi Verschelde
b30014f93f
DocData: Keep Mono properties on non-Mono builds
...
This doesn't make much sense API-wise, but it's important for the documentation
workflow that the Mono and non-Mono builds produce the same output, otherwise
we keep having non-Mono builds removing Mono properties and losing their
descriptions.
This is a terrible hack but it's ad hoc, and should be OK for the time being.
2020-04-20 17:59:07 +02:00