Commit Graph

51756 Commits

Author SHA1 Message Date
Rémi Verschelde 62e939fcf7
Merge pull request #71949 from SaracenOne/update_animation_tree_cache
Force update AnimationTree player cache when AnimationPlayer changes.
2023-01-31 13:19:36 +01:00
Rémi Verschelde 78e7087d81
Merge pull request #72245 from JonqsGames/apply_root_scale_to_shape
Apply root scale to 3d shapes on import
2023-01-31 13:19:02 +01:00
Rémi Verschelde 68cee1f02a
Merge pull request #72201 from fire/gltf-extract-img
Restore gltf embedded scenes due to problems with textures.
2023-01-31 13:18:37 +01:00
Rémi Verschelde 5f90989c26
Merge pull request #72447 from TokageItLab/fix-sprite-frames-edit-switching
Fix SpriteFramesEditor is spamming to switch bottom panel
2023-01-31 13:18:13 +01:00
Rémi Verschelde 6c859889eb
Merge pull request #72420 from TokageItLab/fix-animation-editor-plugin
Fix broken bottom panel switching
2023-01-31 13:18:06 +01:00
Rémi Verschelde 937524c09c
Merge pull request #72431 from raulsntos/dotnet/rid-iequatable
C#: Implement `IEquatable` in `Rid`
2023-01-31 13:17:51 +01:00
Juan Linietsky 1bbe0a2b2f Fix global script class parsing.
* Broke with #72226
* Restored previous version of the code, made it even more error tolerant.
* Added a warning to **not** change the code.

Fixes #72226.
2023-01-31 12:43:25 +01:00
SaracenOne eff3828896 Force update AnimationTree player cache when AnimationPlayer changes. 2023-01-31 11:32:05 +00:00
Lyuma 0020d2aeb6 BoneAttachment3D: Remove duplicate override_pose
Also removes unused override_mode property since we removed the local pose override feature in #71137.

Fixes #72407
2023-01-31 03:31:47 -08:00
Silc Renew 23f566ee1f Fix switching method in SpriteFramesEditor 2023-01-31 19:56:02 +09:00
Silc Renew fc22583b34 Fix broken bottom panel switching 2023-01-31 19:34:26 +09:00
K. S. Ernest (iFire) Lee 39ef247721 gltf: Avoid using base64 hash as an image filename
Consistently use the images.name property with deduplication, or else the image index.
2023-01-31 02:30:16 -08:00
Juan Linietsky 79897dd5bc Restore script class cache if removed
I have no idea why anyone would do this, but this fixes it.

Fixes #72154. Depends on #72444 being merged to function properly.
2023-01-31 11:28:21 +01:00
Rémi Verschelde 5bcf016f11
Merge pull request #62737 from kidrigger/gdext_videodecoder
Updates VideoDecoder plugin API to GDExt.
2023-01-31 11:04:56 +01:00
Rémi Verschelde 99a44f8469
Merge pull request #69248 from vonagam/fixing-typed-arrays
GDScript: Fix typed arrays
2023-01-31 11:04:21 +01:00
Rémi Verschelde 97de7f39e1
Merge pull request #72404 from clayjohn/RD-sky-crash
Fix various crashes relating to low roughness_layers
2023-01-31 10:54:41 +01:00
Dmitrii Maganov 5909f9f075 GDScript: Fix issues with typed arrays 2023-01-31 11:54:41 +02:00
Rémi Verschelde dfb824c1d1
Merge pull request #72107 from rburing/separation_ray_normal
Fix separation ray normal direction
2023-01-31 10:54:34 +01:00
Rémi Verschelde 93c3d3b5eb
Merge pull request #72422 from BastiaanOlij/openxr_set_active_sets
Added methods to OpenXR interface to set which action sets are active
2023-01-31 10:54:28 +01:00
Rémi Verschelde 62689affc7
Merge pull request #72427 from MinusKube/csg-polygon-path-bug
Don't generate CSGPolygon3D shape before the assigned path is inside tree
2023-01-31 10:54:23 +01:00
Rémi Verschelde eedc4553b5
Merge pull request #72426 from fire/4-warnings
Fixed a few godot engine 4 warnings on clang with Opengl and Windows …
2023-01-31 10:54:18 +01:00
Rémi Verschelde d14d6033a5
Merge pull request #72441 from bruvzg/lbl3d_aaa
[Sprite3D/Label3D] Expose alpha antialiasing properties.
2023-01-31 10:54:13 +01:00
Rémi Verschelde 99810d7a26
Merge pull request #72439 from bruvzg/ed_pr_hide
[Editor] Fix editor progress dialog auto closing on focus loss.
2023-01-31 10:54:08 +01:00
Rémi Verschelde c24e0065b2
Merge pull request #72433 from clayjohn/Pointlight2D-crash
Avoid crash when CanvasTexture used with light decal atlas
2023-01-31 10:54:02 +01:00
Rémi Verschelde af1dfa1452
Merge pull request #72438 from myaaaaaaaaa/segfault-test
Fail instead of segfaulting when files cannot be opened in IO tests
2023-01-31 10:53:57 +01:00
Rémi Verschelde 5a5e262f5b
Merge pull request #72437 from lyuma/lightmap_custom_uv
Implement custom uvs for Static Lightmap imported gltf
2023-01-31 10:53:52 +01:00
Rémi Verschelde b6a8b8e8f7
Merge pull request #72212 from anvilfolk/gdtestnames
Add option to print filenames in GDScript unit testing
2023-01-31 10:53:28 +01:00
Rémi Verschelde ae2d2ce407
Merge pull request #71499 from dalexeev/improve-sprite-frame-editor
Few improvements for SpriteFrames Editor
2023-01-31 10:53:22 +01:00
Rémi Verschelde c8446754dd
Merge pull request #72357 from aaronfranke/area-gravity-unit-dist
Replace Area gravity point distance scale with unit distance
2023-01-31 10:53:16 +01:00
Rémi Verschelde c6d066d20c
Merge pull request #72413 from addmix/addmix/master
Added documentation note for `add_custom_type()`
2023-01-31 10:53:11 +01:00
Rémi Verschelde 628967e6ba
Merge pull request #72343 from clayjohn/editor-canvas-bg
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
2023-01-31 10:53:05 +01:00
bruvzg b4fe514aa3
[Sprite3D/Label3D] Expose alpha antialiasing properties. 2023-01-31 10:46:38 +02:00
bruvzg b3d574e22d
[Editor] Fix editor progress dialog auto closing on focus loss. 2023-01-31 09:56:46 +02:00
myaaaaaaaaa 132e987633 Fail instead of segfaulting in IO tests 2023-01-31 02:21:27 -05:00
Yuri Rubinsky bcecb4fe37 Use mix for vector types in switch node in the visual shader 2023-01-31 09:45:27 +03:00
Lyuma 03692c715e Implement custom uvs for Static Lightmap imported gltf 2023-01-30 22:37:38 -08:00
Treer 273df44e1d Qualify Console's namespace to avoid mixup with plugin's objects
Avoid error when a plugin contains a class called "Console":
Godot.SourceGenerators\Godot.SourceGenerators.GodotPluginsInitializerGenerator\GodotPlugins.Game.generated.cs(32,25): error CS0117: 'Console' does not contain a definition for 'Error'
2023-01-31 16:23:17 +11:00
clayjohn cfd5fe0f29 Avoid crash when CanvasTexture used with light decal atlas
The decal atlas is used for Light2Ds, decals, and Light3Ds
2023-01-30 20:59:53 -08:00
Raul Santos 8166568976
C#: Implement `IEquatable` in `Rid`
- Implement `IEquatable` interface.
- Implement `==` and `!=` operators.
- Add `IsValid` method.
- Override `Equals` and `GetHashCode`.
- Fix `ToString` to follow Core.
- Sync documentation with Core.
2023-01-31 04:44:18 +01:00
ocean (they/them) 199e5dbb1e Add option to print filenames in GDScript unit testing 2023-01-30 22:20:45 -05:00
anish bhobe 42a9c33fad Updates VideoDecoder plugin API to GDExtension.
Adds VideoStream and relevant resource loaders to migrate
external GDNative plugins to GDExtension.

Adds a VideoStreamLoader as a specialization of ResourceFormatLoader
as ClassDB::is_parent_class is inaccessible from GDExtension currently.

Using Object* instead of Ref<T> in order to avoid the refcount bug
(godotengine/godot-cpp#652)
Also another bug is in ResourceLoader in use on the extension side that
requires fixing.
2023-01-30 18:39:29 -08:00
MinusKube 541b725190 Don't generate CSGPolygon3D shape before the assigned path is inside tree 2023-01-31 02:04:57 +01:00
K. S. Ernest (iFire) Lee f8be889133 Fixed a few godot engine 4 warnings on clang with Opengl and Windows apis. 2023-01-30 17:00:02 -08:00
Bastiaan Olij d3ec17e9ae Added methods to OpenXR interface to set which action sets are active 2023-01-31 10:20:19 +11:00
David Snopek 0e2af4b73d Make it clearer that file modes propagate to children in the dedicated server export 2023-01-30 15:10:44 -06:00
addmix 3c1c965b85 Added documentation note for `add_custom_type()` 2023-01-30 14:02:31 -07:00
clayjohn 9071809021 Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
This allows us to set a default value inherited by child viewports and have child viewports set the value themselves which is needed for disabling the environment in the editor
2023-01-30 12:25:49 -08:00
clayjohn bc64a734d3 Fix various crashes relating to low roughness_layers 2023-01-30 12:16:33 -08:00
Rémi Verschelde e9de988020
Merge pull request #72031 from reduz/change-high-quality-texture-import
Refactor high quality texture import
2023-01-30 20:41:01 +01:00
Rémi Verschelde 1a37aefbf9
Merge pull request #72402 from dsnopek/openxr-action-map-export-regression
Only customize resources during export if there are any export plugins in use
2023-01-30 20:27:41 +01:00