Commit Graph

29204 Commits

Author SHA1 Message Date
Andrii Doroshenko (Xrayez) 4a86e2bb76 Optimize class icon loading
`get_global_class_name` for `GDScriptLanguage` is slow because
it forces to parse an entire script each time. This patch ensures
that the icon is actually fetched from the EditorData where they
are loaded beforehand.

This change also makes the behavior consistent with the existing
`get_object_icon` method in EditorNode.
2020-06-24 13:08:27 +03:00
Bill acdcda9033 Fix overlapping hotkey designations for save all scenes and save all scripts 2020-06-24 05:02:54 -04:00
Andrea Catania a2b5e7971a Added BulletPhysics APIs to return internal objects and fixed a typo. 2020-06-24 09:09:50 +02:00
Andrea Catania 7709a83493 Optimized physics object spawn time and optimized shape usage when the shape is not scaled 2020-06-24 08:54:11 +02:00
Rémi Verschelde ddba410ce5
Merge pull request #39781 from Andy0903/tween-word-order-fix
Tween.xml word order fix
2020-06-24 08:29:50 +02:00
Rémi Verschelde 6ad814bf7b
Merge pull request #39775 from Chaosus/fix_error_label
Fix error label clicking in status bar for shader editor
2020-06-24 08:24:40 +02:00
Rémi Verschelde 7d60a88888
Merge pull request #39783 from neikeq/messaging-codecompletion-localize-fix
C#: Fix completion request with case insensitive resource path
2020-06-24 01:00:05 +02:00
Ignacio Etcheverry d569b447ff C#: Fix completion request with case insensitive resource path
Sometimes Visual Studio documents have the root path all in upper case.
Since Godot doesn't support loading resource files with a case insensitive path,
this makes script resource loading to fail when the Godot editor gets code
completion requests from Visual Studio.
This fix allows the resource path part of the path to be case insensitive. It
still doesn't support cases where the rest of the path is also case insensitive.
For that we would need a proper API for comparing paths. However, this fix
should be enough for our current cases.
2020-06-23 20:29:19 +02:00
Andreas Gustafsson 5181daaf9e Tween.xml word order fix
Change the word order of '...the where...' into '...where the...'.
2020-06-23 18:42:11 +02:00
Sergey Minakov c3e7aeb279 SCons: Enable iOS modules for ARKit and Camera 2020-06-23 12:48:44 +03:00
Sergey Minakov 488879f52b Export: Fix iOS enabling push notifications capability 2020-06-23 12:48:44 +03:00
Sergey Minakov 6a01fbc9a7 Export: Remove system frameworks from xcode template 2020-06-23 12:48:44 +03:00
Sergey Minakov 090b9fec20 SCons: Enable modules for iOS 2020-06-23 12:48:44 +03:00
Rémi Verschelde 05395cb14f
Merge pull request #39778 from Meriipu/patch-1
Clarify what a string being empty means
2020-06-23 11:36:29 +02:00
Meriipu 2643b8fa5e Clarify what a string being empty means
Should close https://github.com/godotengine/godot-docs/issues/2432
2020-06-23 11:13:12 +02:00
Yuri Roubinsky 25cb5a42e0 Fix error label clicking in status bar for shader editor 2020-06-23 11:10:33 +03:00
Rémi Verschelde 335faa10f8
Merge pull request #39773 from mrushyendra/uv_editor
Enable finer grained control when creating polygon with UV Editor
2020-06-23 10:08:48 +02:00
Marcus Elg 9e24fa469a Remove unused interpolate camera icon 2020-06-23 09:29:20 +02:00
Maganty Rushyendra 69d0d89214 Enable finer grained control when creating polygon with UV Editor
Modifies polygon auto-completion based on UV editor scale, in order
to enable finer grained control for the user. Enables selection of
points closer than the current threshold of 8 pixels.
2020-06-23 15:22:08 +08:00
Rémi Verschelde 3f4e39e606
Merge pull request #39719 from Calinou/editor-monitors-horizontal-lines
Draw horizontal lines and labels in the editor performance monitors
2020-06-22 23:32:29 +02:00
Rémi Verschelde 42c4a701dd
Merge pull request #39755 from Faless/crypto/encryption_pr_4.0
Crypto enhancements, AESContext, RSA public key, signature, verification.
2020-06-22 23:31:58 +02:00
Rémi Verschelde d26d8a8644
Merge pull request #39763 from m4gr3d/cleanup_godotpayment
Follow up cleanup for the godotpayment project module
2020-06-22 22:21:26 +02:00
Fredia Huya-Kouadio 206cbd960b Follow up cleanup for the godotpayment project module 2020-06-22 12:53:25 -07:00
Rémi Verschelde a403131a25 CanvasItemEditor: Fix losing position for drag'n'dropped scenes
Fixes #26549.
Supersedes #36309.
2020-06-22 14:18:45 +02:00
Rémi Verschelde d808697760
Merge pull request #39751 from bruvzg/mingw_build_fix
Fix MinGW build (use uninitialized `ofs` variable introduced in 39701).
2020-06-22 13:07:14 +02:00
Rémi Verschelde 2cd36209cc
Merge pull request #39750 from bruvzg/win_fix_mouse_mode
[Windows] Fix mouse cursor not shown after multiple mode changes.
2020-06-22 13:00:58 +02:00
bruvzg 439c97e0ff
Fix use uninitialized `ofs` variable introduced in 39701. 2020-06-22 13:13:22 +03:00
bruvzg fc1d1c3557
[Windows] Prevent overwriting old cursor handle on multiple mouse_mode changes, ensure mouse_mode is set before `cursor_set_shape` is called to restore cursor. 2020-06-22 13:05:18 +03:00
Rémi Verschelde 6869d5d190
Merge pull request #39745 from timoschwarzer/remove-godot-payment-plugin-4
Remove GodotPayment android plugin
2020-06-22 12:01:27 +02:00
Rémi Verschelde 417d15a23a
Merge pull request #39749 from aaronfranke/nan-editor-camera
Avoid errors when the editor camera is inside the focused object
2020-06-22 11:38:09 +02:00
Rémi Verschelde bd85e4ec16
Merge pull request #39748 from bruvzg/macos_mouse_hide_counter
[macOS] Fix mouse cursor not shown after multiple mode changes.
2020-06-22 11:21:08 +02:00
Aaron Franke ed2bbdbbef
Avoid errors when the editor camera is inside the focused object
Prevent the gizmo distance from being zero by MAX-ing it with CMP_EPSILON
2020-06-22 04:53:29 -04:00
Rémi Verschelde 10d2fa4210
Merge pull request #39747 from nekomatata/fix-crash-space-query
Fix crashes with invalid shapes in BulletPhysicsDirectSpaceState queries
2020-06-22 10:46:39 +02:00
bruvzg 7a250b579f
macOS, prevent multiple CGDisplayHideCursor calls unpaired with CGDisplayShowCursor. 2020-06-22 11:38:43 +03:00
PouleyKetchoupp 8b0232bf29 Fix crashes with invalid shapes in BulletPhysicsDirectSpaceState queries 2020-06-22 10:22:11 +02:00
Timo Schwarzer 83a966f0d8
Remove GodotPayment android plugin
This is now available in a separate repository
at https://github.com/godotengine/godot-google-play-billing
2020-06-22 09:21:05 +02:00
Rémi Verschelde 492625db28 i18n: Sync translations with Weblate
(cherry picked from commit 000db65d40)
2020-06-22 08:44:07 +02:00
Rémi Verschelde d2fec77800
Merge pull request #39741 from skyace65/Joint2DDoc
Fix Joint2D disable collision description.
2020-06-22 08:24:49 +02:00
skyace65 a94ba7be59 Fix Joint2D doc 2020-06-21 22:55:16 -04:00
Rémi Verschelde 091e500a88
Merge pull request #39592 from vorblen/master
Fix "Fully Axis-Locked" Freelook Navigation Scheme
2020-06-21 21:47:01 +02:00
Rémi Verschelde 9ecb85644b
Merge pull request #39733 from Calinou/doc-vector-color-boolean-context
Document how Vector2, Vector3 and Color behave in a boolean context
2020-06-21 21:24:25 +02:00
Hugo Locurcio a593786d09
Draw horizontal lines and labels in the editor performance monitors
This partially addresses
https://github.com/godotengine/godot-proposals/issues/1014.
2020-06-21 20:02:04 +02:00
Rémi Verschelde c59be89273
Merge pull request #34236 from madmiraal/enable-bullet-debug
Enable Bullet DEBUG on debug builds.
2020-06-21 18:41:42 +02:00
Rémi Verschelde 81a47d033d
Merge pull request #39717 from hinlopen/empty-scroll-eats-input
No longer scroll vertically when scrollbars are unavailable
2020-06-21 18:32:38 +02:00
Rémi Verschelde 858af3d3b9
Merge pull request #34219 from madmiraal/check-motion-before-bullet-sweep
Check for motion in cast_motion() before doing Bullet convexSweepTest().
2020-06-21 18:05:02 +02:00
Rémi Verschelde fd21465ec3
Merge pull request #39730 from madmiraal/fix-39718
Fix creation of duplicate faces in CSG merge faces.
2020-06-21 17:55:58 +02:00
Marcel Admiraal 8ffe905c45 Check for motion in cast_motion() before doing Bullet convexSweepTest().
Also ensure that default closest_safe and closest_unsafe values are
defined in cast_motion() and before cast_motion() is called.
2020-06-21 16:20:26 +01:00
Hugo Locurcio 227f12478d
Document how Vector2, Vector3 and Color behave in a boolean context
See #39731.
2020-06-21 17:16:10 +02:00
Marcel Admiraal f5b99b578e Check if point's index exists before adding it to the list of points
that need to split faces when avoiding creating degenerate faces
while merging CSG faces.
2020-06-21 14:48:01 +01:00
Rémi Verschelde 277d2f1f50
Merge pull request #39661 from dreamsComeTrue/restart-project-settings-msg
Project Settings 'restart' message put focus on editor rather than project itself
2020-06-21 12:21:15 +02:00