Commit graph

32468 commits

Author SHA1 Message Date
Ryan Roden-Corrent
9676650f2f Clarify EditorImportPlugin.get_visible_name.
According to the docs at
https://docs.godotengine.org/en/stable/tutorials/plugins/editor/import_plugins.html#the-editorimportplugin-class

> The get_visible_name() method is responsible for returning the name of
> the type it imports and it will be shown to the user in the Import dock.
> You should choose this name as a continuation to "Import as", e.g.
> "Import as Silly Material"

I've verified Godot's behavior reflects this, so the code examples
should reflect this.

Also document propagating save error in EditorImportPlugin.

It seems that the suggested code ignores any error from
`ResourceSaver.save`, but I think we should return it.
2021-02-11 11:13:17 +01:00
Rémi Verschelde
d39f6386ce
Merge pull request #45314 from RandomShaper/modernize_rwlock
Modernize RWLock
2021-01-22 14:51:05 +01:00
Rémi Verschelde
2a3e771f4c
Merge pull request #36355 from Dodoveloper/master
Fix remembering of an unsaved scene on exit
2021-01-21 23:54:31 +01:00
Dodoveloper
c3abda0b13 Fix #33326 by reopening scenes 2021-01-21 23:23:54 +01:00
Rémi Verschelde
a9b151c664
Merge pull request #44668 from clayjohn/VULKAN-downsample
Use cubemap downsampler for reflection mipmaps
2021-01-20 20:41:47 +01:00
Rémi Verschelde
b23f1a8d3e
Merge pull request #45267 from HipsterPenguin/BugFixing
Fixed 6DOF set/get check for the path starting with joint_constraints
2021-01-20 17:51:08 +01:00
Rémi Verschelde
4a0abe749e
Merge pull request #45328 from YeldhamDev/clangd_cache
Ignore clangd 11+ cache folder
2021-01-20 15:05:44 +01:00
Michael Alexsander
ff1d636385 Ignore clangd 11+ cache folder 2021-01-20 10:14:02 -03:00
Rémi Verschelde
39cf47ff82
Merge pull request #43734 from Shatur95/detect-plugins-recursively
Detect plugins recursively
2021-01-20 10:39:02 +01:00
Rémi Verschelde
8a6d4dd5ed
Merge pull request #45023 from reduz/optimize-shader-vgpr1
Shader optimizations to reduce VGPR usage and increase occupancy
2021-01-20 00:10:21 +01:00
Rémi Verschelde
f768d86516
Merge pull request #45322 from akien-mga/cleanup-permissions
Cleanup: Remove executable bit from files which don't need it
2021-01-19 23:57:42 +01:00
Rémi Verschelde
5a9bd8e51c
Merge pull request #45321 from aaronfranke/vector-operators-equality
Remove useless "else" statements from vector3.h
2021-01-19 23:47:42 +01:00
Rémi Verschelde
76c6007aa6
Cleanup: Remove executable bit from files which don't need it
Drop unused xpmfix.sh script.
2021-01-19 23:36:42 +01:00
reduz
099dee35f4 Added GPU based cluster builder
Clustering is now GPU based, uses an implementation based on the Activision algorithm.
2021-01-19 23:31:06 +01:00
reduz
7008e3c6ea Shader optimizations to reduce VGPR usage and increase occupancy 2021-01-19 23:31:02 +01:00
PouleyKetchoupp
356d0fccc2
Remove useless "else" statements from vector3.h 2021-01-19 16:36:29 -05:00
Shatur95
64d23b2295 Detect plugins recursively 2021-01-19 18:09:30 +02:00
Rémi Verschelde
53e234fe5f
Merge pull request #45310 from magian1127/master
Mono: Fix support for Unicode identifiers
2021-01-19 15:14:42 +01:00
magian1127
da234cdbc6 C # mono supports Unicode code 2021-01-19 21:44:07 +08:00
HipsterPenguin
6bf46cf70f Fixed 6DOF set/get check for the path starting with joint_constraints
New code checks whether or not property has joint_constraints as the first part of its path.
2021-01-19 06:40:06 -06:00
Pedro J. Estébanez
8ed259b792 Modernize RWLock
- Based on C++14's `shared_time_mutex`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed
- Simpler for `NO_THREADS`
2021-01-19 11:53:10 +01:00
Rémi Verschelde
7dea83c623
Merge pull request #45298 from marstaik/fix_cursor
BUGFIX: Fix uninitialized cursor_shape on windows display server
2021-01-19 09:19:52 +01:00
Marios Staikopoulos
2a2de2f684 BUGFIX: Fix unintialized cursor_shape on windows display server 2021-01-18 15:52:47 -08:00
Rémi Verschelde
7fc9d4c79b
Merge pull request #45289 from naithar/fix/plugin_embedding
[iOS] Fix embedding of plugin libraries
2021-01-18 18:16:24 +01:00
Sergey Minakov
6d67827f4e [iOS] Fix embedding of plugin libraries 2021-01-18 19:23:12 +03:00
Rémi Verschelde
eba982b9a3
Merge pull request #45270 from Calinou/editor-tweak-font-hinting-hint
Tweak the "Auto" editor setting hints to be more indicative
2021-01-18 16:47:18 +01:00
Hugo Locurcio
57654508c9
Tweak the "Auto" editor setting hints to be more indicative
This affects the editor scale and font hinting settings which will now
display their automatically chosen value in parentheses.
2021-01-18 16:29:04 +01:00
Rémi Verschelde
eb77d0cf1b
Merge pull request #43906 from Chaosus/vs_sdf
Added SDF nodes to visual shader
2021-01-18 15:20:54 +01:00
Yuri Roubinsky
4618e09f3b
Added SDF nodes to visual shader 2021-01-18 15:04:54 +01:00
Rémi Verschelde
869f5b5328
Merge pull request #45078 from Faless/js/4.x_gamepads
[HTML5] Use internal implementation of the Gamepad API.
2021-01-18 13:12:54 +01:00
Rémi Verschelde
688f4aebef
Merge pull request #32321 from Calinou/editor-disable-quit-confirmation
Remove the editor quit confirmation when there are no unsaved changes
2021-01-18 12:40:17 +01:00
Fabio Alessandrelli
bab20c6e09 [HTML5] Custom Gamepad library to allow remapping.
No longer use emscripten functions for gamepads, implement them as
library functions in library_godot_display.js instead.
This allows us to do a better job at "guessing" vendorId, productId, OS,
etc. thus allowing us to better find the remapping for the controller.
2021-01-18 12:30:38 +01:00
Rémi Verschelde
5496174dd4
Merge pull request #45265 from KoBeWi/children_editing_2077
Change how editable children data is stored
2021-01-18 12:30:38 +01:00
Fabio Alessandrelli
a1533f2c44 Better gamepad axis event injection.
In the core input handling code we have checks to make sure that if axis
rapidly change sign we inject mid-points to release any pending inputmap
action.

The function though, did not correctly insert the mid-point causing
dpads mapped to an axis that behaves like tri-state buttons (-1,0,1) to
not be released correctly.

This commit fixes that by including in the check the case where the axis
swtiches from abs(1) to 0.
2021-01-18 12:30:38 +01:00
Rémi Verschelde
16fa4201f1
Merge pull request #45128 from bruvzg/rtl_wrapped_lines
RichTextLabel: Add count and scroll functions for wrapped lines and paragraphs.
2021-01-18 11:37:21 +01:00
bruvzg
e4651a44ab
RichTextLabel: adds separate get_total_x_count, get_visible_x_count and scroll_to_x functions for wrapped lines and paragraphs (newlines). 2021-01-18 11:26:55 +02:00
Rémi Verschelde
380bb2d533
Merge pull request #45274 from Calinou/fix-botton-typo
Fix typo in theming methods ("botton" -> "bottom")
2021-01-18 10:06:57 +01:00
Rémi Verschelde
125d9b0fc8
Merge pull request #45272 from Calinou/editor-cinematic-preview-hide-rotation-gizmog
Hide the rotation gizmo when editor cinematic preview is enabled
2021-01-18 10:04:35 +01:00
Rémi Verschelde
d13043b443
Merge pull request #45271 from Calinou/editor-tweak-contextual-ligatures-hint
Tweak the Contextual Ligatures editor setting hint for consistency
2021-01-18 09:57:34 +01:00
Rémi Verschelde
f743f8cb9a
Merge pull request #45250 from naithar/fix/ios_plugin-4.0
[iOS] '.xcframework' support in plugins
2021-01-18 08:57:56 +01:00
Hugo Locurcio
1f9cac1717
Fix typo in theming methods ("botton" -> "bottom") 2021-01-18 04:19:07 +01:00
Hugo Locurcio
fa1d853eeb
Hide the rotation gizmo when editor cinematic preview is enabled
Cinematic preview enables the Camera3D preview automatically.

When previewing a Camera3D, the rotation gizmo isn't displayed as
it can't be used.
2021-01-18 03:19:05 +01:00
Hugo Locurcio
38e1965af8
Tweak the Contextual Ligatures editor setting hint for consistency
Title Case is used for all enum values in Godot.
2021-01-18 03:00:42 +01:00
kobewi
05f29b16b6 Change how editable children data is stored
Co-authored-by: hilfazer <az13337@gmail.com>
2021-01-17 23:37:40 +01:00
Sergey Minakov
01d513f3ca [iOS] Added support for '.xcframework' in plugins 2021-01-17 14:13:09 +03:00
Rémi Verschelde
49b5776e8b
Merge pull request #45036 from vix597/issue-45025
Fix `AudioServer.get_time_since_last_mix()` returning incorrect value when accessing from another thread
2021-01-16 21:18:05 +01:00
Rémi Verschelde
3f66d8b953
Merge pull request #45232 from Xrayez/doc-gpu-particles-visibility
Document GPU particles visibility rect/aabb behavior
2021-01-16 21:15:11 +01:00
Sean LaPlante
17ac012728
Fixes #45025 - Protects _last_mix_time and _last_frame_time with the AudioDriver lock() and unlock() methods 2021-01-16 13:10:05 -05:00
Andrii Doroshenko (Xrayez)
b4675973fd Document GPU particles visibility rect/aabb behavior 2021-01-16 17:37:17 +02:00
Rémi Verschelde
3099f6fae4
Merge pull request #45221 from arrowinaknee/fix-new-scene-save
Remove unnecessary file existence check when saving scene
2021-01-16 12:45:50 +01:00