Commit graph

29047 commits

Author SHA1 Message Date
Rémi Verschelde 759ed89640
Merge pull request #39856 from qarmin/fixes_leaks
Fixes recently introduced shader leaks
2020-06-27 16:11:33 +02:00
qarmin 997d367b51 Fixes recently introduced shader leaks 2020-06-27 15:08:20 +02:00
Rémi Verschelde db168abe7d
Merge pull request #39637 from MCrafterzz/tilemapinprovements
Make tilemap lines/rectangles their own tools
2020-06-27 11:38:32 +02:00
rileylyman 4285211f40 implement generic filename disambiguation
A static function is added to EditorNode which allows for filename
disambiguation given a list of filenames and the corresponding list of
absolute paths for those files. This function is then used to
disambiguate scene and script tabs in the editor.
2020-06-26 16:12:08 -07:00
Rémi Verschelde bcf7e51689
Merge pull request #39177 from Calinou/distraction-free-keep-bottom-panel-visible
Keep the bottom panel visible when enabling the distraction-free mode
2020-06-27 00:18:58 +02:00
Hugo Locurcio e6352d1daa
Keep the bottom panel visible when enabling the distraction-free mode
- Document the `EditorInterface.distraction_free_mode` property.

This closes https://github.com/godotengine/godot-proposals/issues/951.
2020-06-26 22:09:08 +02:00
Rémi Verschelde b55d859c5f
Merge pull request #39855 from m4gr3d/godot_fragment_master
Enable the ability to use Godot as a subview within an Android app
2020-06-26 22:08:01 +02:00
Rémi Verschelde b740f645f7
Merge pull request #39754 from akien-mga/canvasitemeditor-fix-dropped-scenes-position
CanvasItemEditor: Fix losing position for drag'n'dropped scenes
2020-06-26 20:54:00 +02:00
Juan Linietsky a4e200a47a
Merge pull request #39827 from reduz/sdfgi
Addition of SDFGI for open world global illumination
2020-06-26 12:11:54 -03:00
Juan Linietsky 201d606b3d Addition of SDFGI for open world global illumination
Move GI to a deferred pass
2020-06-26 11:06:48 -03:00
Andrii Doroshenko (Xrayez) da3fbc0296 Expose shape property for shape query parameters classes
Co-authored-by: PouleyKetchoupp <pouleyketchoup@gmail.com>
2020-06-26 16:54:05 +03:00
Marcus Elg 8e2608b2d6 Make tilemap lines/rectangles their own tools 2020-06-26 15:52:09 +02:00
Rémi Verschelde b92477d77e
Merge pull request #39814 from Xrayez/specific-weird-icons
Don't use arbitrary theme editor icons for scripts with the same name
2020-06-26 08:05:52 +02:00
Rémi Verschelde 87d2397273
Merge pull request #39837 from neikeq/fix-invalid-unbox-long-as-int
Mono/C#: Fix InvalidCast because of attempt to unbox long as int
2020-06-26 07:56:42 +02:00
Rémi Verschelde aa42bd14ac
Merge pull request #39839 from neikeq/use-/restore-instead-of-/t-restore
Mono/C#: Use /restore instead of /t:restore when building
2020-06-26 07:49:40 +02:00
Rémi Verschelde 38cfaadcf9
Merge pull request #39836 from neikeq/fix-unhandled-exception-print
Mono/C#: Fix unhandled exception not being printed
2020-06-26 07:48:17 +02:00
Fredia Huya-Kouadio 175d43738a Enable the ability to use Godot as a subview within an Android app 2020-06-25 19:52:40 -07:00
Ignacio Etcheverry 4b0c78b3ca Mono/C#: Use /restore instead of /t:restore when building
Documentation recommends not to use /t:restore
together with other targets (like /t:build),
as it messes with the environment.
2020-06-25 23:50:05 +02:00
Ignacio Etcheverry e8d632720f Mono/C#: Fix InvalidCast because of attempt to unbox long as int 2020-06-25 23:37:53 +02:00
Ignacio Etcheverry f87ae395ee Mono/C#: Fix unhandled exception not being printed
For some reason `mono_unhandled_exception` is not
printing the exception as its comment claims.
Use `mono_print_unhandled_exception` instead.
2020-06-25 23:28:53 +02:00
Rémi Verschelde 23f7f86914 Style: Fix copyright headers 2020-06-25 16:33:44 +02:00
Maganty Rushyendra b8d55b244a Fix accidental duplication of Polygon2D start point
Ensures that closure of Polygon2D in the editor takes into account
Grid Snap if enabled. Does this by comparing the polygon start with
grid snap applied to mouse click location. Note: transformation is
applied in order to deal with different editor zoom levels.
2020-06-25 18:42:18 +08:00
Rémi Verschelde 75c91707a4
Merge pull request #39482 from asmaloney/fix-scrollwheel-zoom-macos
[macOS] Control key + scroll wheel should zoom not pan
2020-06-25 11:22:08 +02:00
Rémi Verschelde ce5de2a3f4 i18n: Sync classref translation template with current docs 2020-06-25 11:00:39 +02:00
Rémi Verschelde c88e5bfbcc i18n: Sync classref translations with Weblate 2020-06-25 11:00:39 +02:00
Rémi Verschelde 2446dbfba1 doc: Sync classref with current source 2020-06-25 11:00:38 +02:00
Rémi Verschelde e8706848e6 i18n: Sync translations with Weblate
(cherry picked from commit a84f081160)
2020-06-25 11:00:38 +02:00
Rémi Verschelde 7c837cf6d1
Merge pull request #39799 from YeldhamDev/3d_buttons_regress_fix
Fix regressions in the 3D lock buttons
2020-06-25 10:53:39 +02:00
Yuri Roubinsky f1d7bb6b36
Merge pull request #39822 from Chaosus/shader_fix_const_pass
Fix few places in shaders where const passing still incorrect
2020-06-25 11:10:59 +03:00
Yuri Roubinsky b6ca9536f2 Fix few places in shaders where const passing still incorrect 2020-06-25 10:40:19 +03:00
Andrii Doroshenko (Xrayez) c177308f80 Don't use arbitrary theme editor icons for scripts with the same name
The existing theme editor icon could be unintentionally set for any
global class with matching name (`Group` icon, `Group` class_name etc),
which would only show up in the "Create Dialog" context, but not the
scene tree dock.

This change prevents this behavior, and ensures that the icon can be
actually overidden by explicit icon path in `class_name`, if there's any
custom icon to begin with.

The correct built-in type's icon is fetched for child classes if there
are no custom icons detected throughout base classes as well, so it
isn't left empty for those cases.
2020-06-25 02:23:39 +03:00
Rémi Verschelde 4dede9e644
Merge pull request #36052 from Calinou/improve-low-processor-sleep
Improve the low processor mode sleep precision
2020-06-24 23:14:05 +02:00
Rémi Verschelde 04795d7f1e
Merge pull request #39739 from MichaelBelousov/fix/long-enum-fix-rider-cast
fix underlying type of enum crashing cast in RiderPathManager
2020-06-24 22:51:07 +02:00
Rémi Verschelde 8f5005b3eb
Merge pull request #39779 from naithar/feature/ios-modules-master
Enable iOS modules and fix missing symbols errors (4.0)
2020-06-24 22:49:39 +02:00
Rémi Verschelde 7dac5bd2b0
Merge pull request #39798 from akien-mga/main-keep-messagequeue-to-deinit-scene
Main::cleanup: Move MessageQueue deletion further down where it's safer
2020-06-24 22:05:15 +02:00
Rémi Verschelde 850134aff9
Merge pull request #39617 from mrushyendra/bilinear_interpolation
Fix upscaling image with bilinear interpolation option specified
2020-06-24 21:58:43 +02:00
Rémi Verschelde 057489b329
Merge pull request #39805 from RandomShaper/fix_gone_popup_crash
Handle gone TabContainer popup nicely
2020-06-24 20:21:17 +02:00
Pedro J. Estébanez b5e44a123c Handle gone TabContainer popup nicely 2020-06-24 19:34:32 +02:00
Rémi Verschelde 527ab830c6
Merge pull request #39793 from Xrayez/class-icon-opt
Optimize class icon loading
2020-06-24 19:01:36 +02:00
Rémi Verschelde 9ad5e9e471
Merge pull request #39800 from Calinou/fix-default-button-styles
Fix default editor/project Button styles after ToolButton removal
2020-06-24 18:58:28 +02:00
Hugo Locurcio 9bd2d7a617
Fix default editor/project Button styles after ToolButton removal
Before this fix, all Buttons made with the default project theme
looked flat until hovered.
2020-06-24 17:21:47 +02:00
Poq Xert 4c0b077faa Updated purchase receipt suitable for sending to apple verification server
(cherry picked from commit bd71925726)
2020-06-24 17:15:56 +02:00
Michael Alexsander f167a2b993 Fix regressions in the 3D lock buttons 2020-06-24 12:09:53 -03:00
Rémi Verschelde 6480efba45 Main::cleanup: Move MessageQueue deletion further down where it's safer
Partial revert of #15702 which triggered the issue.

Fixes #39786.
2020-06-24 16:58:18 +02:00
Michael Belousov 9f61f1ed54 Mono: fix bad long casts and wrong underlying enum types in GodotTools 2020-06-24 09:35:13 -04:00
Rémi Verschelde 3c9fc891c8
Merge pull request #39792 from bill8224/hotkey-fix
Fix overlapping hotkey designations
2020-06-24 13:18:12 +02:00
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
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