Commit Graph

29204 Commits

Author SHA1 Message Date
Fabio Alessandrelli eb2121d513 Fix RasterizerDummy after SDF GI changes.
Re-enable JavaScript CI.
2020-06-30 21:05:49 +02:00
Fabio Alessandrelli 1b6e3458b2 Move frame delaying functions from Main to OS.
Will allow specific platforms to override it and avoid blocking on the
main/GUI thread.
2020-06-30 19:39:09 +02:00
Rémi Verschelde 73262c0f60
Merge pull request #39993 from reduz/make-dialogs-exclusive
Make dialogs exclusive by default, fixes #37732
2020-06-30 19:30:27 +02:00
Juan Linietsky b19ab945ac Make dialogs exclusive by default, fixes #37732
Also fix on set_visible, not creating exclusive children as it should.
2020-06-30 14:02:37 -03:00
Rémi Verschelde 84e9e58084
Merge pull request #39990 from follower/revert-fuzzy-help-search
Revert "Adds fuzzy search for help search dialog"
2020-06-30 18:40:43 +02:00
follower 55d706c352 Revert "Adds fuzzy search for help search dialog"
This reverts commit 481dbceed0.

Current fuzzy search implementation results in too many
non-useful results.

Could be re-added after result sort/filter/score functionality
is added. See #30072 for example existing implementation.

Fixes: #39128

Reverts: #32043

Fixed format style conflicts:
	editor/editor_help_search.cpp
2020-07-01 03:19:24 +12:00
bruvzg a07578592b
[macOS] Add application become/resign active notifications. 2020-06-30 17:59:30 +03:00
Rémi Verschelde 5f2295f2df
Merge pull request #39986 from reduz/app-inout-notification
Add a separate application focus/in notification
2020-06-30 16:58:46 +02:00
Rémi Verschelde f3c5f12e39
Merge pull request #38920 from paulherman/tga
Expose loading TGA images in Image.
2020-06-30 16:40:28 +02:00
Juan Linietsky 438c380458 Add a separate application focus/in notification out from Window focus notification. 2020-06-30 10:40:06 -03:00
Hugo Locurcio a31fc59ff3 Write "Aces" tonemapping in uppercase as it's an acronym 2020-06-30 15:21:35 +02:00
Rémi Verschelde 27605769c4
Merge pull request #35633 from Xrayez/physics-shape-property
Expose shape property for shape query parameters classes
2020-06-30 13:57:23 +02:00
Rémi Verschelde dffb8824db
Merge pull request #39982 from hinlopen/create-dialog-preferred
Add Control to preferred types in Create Dialog
2020-06-30 12:50:36 +02:00
Stijn Hinlopen ec86d32684 Add Control to preferred types 2020-06-30 12:00:55 +02:00
Rémi Verschelde 50e79134b8
Merge pull request #39956 from madmiraal/fix-39919
Fix CSG Visual Bug.
2020-06-30 11:53:13 +02:00
Rémi Verschelde bccb323396
Merge pull request #39977 from bruvzg/fix_zip_file_mode_again
[macOS export] Set correct external file attributes, and creation time.
2020-06-30 09:57:45 +02:00
Rémi Verschelde 5a33c77f0a
Merge pull request #39953 from neikeq/fix-missing-defval-regr-from-39827
Fix missing DEFVAL in RenderingDevice.storage_buffer_create
2020-06-30 09:40:43 +02:00
bruvzg accae11fe3
[macOS export] Set correct external file attributes (Unix mode), and creation time. 2020-06-30 10:16:02 +03:00
Rémi Verschelde d41e8d8f2d
Merge pull request #39302 from simpuid/custom-monitors
Added Custom Performance Monitor
2020-06-29 22:18:13 +02:00
Rémi Verschelde 8e8699e36b
Merge pull request #39894 from madmiraal/fix-39768
Trigger broadphase update when changing collision layer/mask.
2020-06-29 21:34:45 +02:00
Marcel Admiraal 63f4e92195 Use is_equal_approx() instead of vertex_snap when checking if ray is
colliding with equiplanar CSG faces.
2020-06-29 18:21:15 +01:00
Marcel Admiraal 1a559c9889 Create degenerate triangles when inserting an edge into a CSG face.
They will be deleted when the faces are merged, but their edges are
needed for merging faces.
2020-06-29 17:57:07 +01:00
Ignacio Etcheverry 7c3ff85c71 Fix missing DEFVAL in RenderingDevice.storage_buffer_create 2020-06-29 17:13:09 +02:00
Stijn Hinlopen 1ce3a77a42 Open scene selected from Quick Open dialog. 2020-06-29 16:36:12 +02:00
Rémi Verschelde 4599381fad
Merge pull request #39934 from starryalley/fix-videoplayer-race
VideoPlayer: fix possible race condition
2020-06-29 14:52:58 +02:00
Rémi Verschelde 5bf7c769f0
Merge pull request #39945 from akien-mga/x11-XGetWindowProperty-memleak
X11: Ensure XGetWindowProperty data gets freed
2020-06-29 13:57:53 +02:00
simpu bfadb882b1 Added Custom Performance Monitor and feature to read intermediate values of Monitor
Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor`

The value can be viewed in the `Monitor` tab of Debugger.

Text before `/` is used to categorize the custom monitor.

`EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger`

User can click on the graph of monitors to read the value at that point.

Graph includes intermediate base lines.
2020-06-29 17:20:29 +05:30
Rémi Verschelde 524f061c01 X11: Ensure XGetWindowProperty data gets freed
And cleanup includes a bit.
2020-06-29 13:32:21 +02:00
bruvzg 00299f15b4
[macOS] Add support for the Apple Silicon (ARM64) build target. 2020-06-29 12:33:51 +03:00
Rémi Verschelde 9fc65fd1f1
Merge pull request #39938 from MCrafterzz/interpolatedcamera
Remove unused interpolate camera icon
2020-06-29 10:59:58 +02:00
Rémi Verschelde dffd805055
Merge pull request #39824 from mrushyendra/snap_point_polygon
Fix possible accidental duplication of Polygon2D start point
2020-06-29 10:39:00 +02:00
Rémi Verschelde b474e30136
Merge pull request #39922 from KoBeWi/preloadload
Improve the preload and load descriptions
2020-06-29 10:38:20 +02:00
Rémi Verschelde 9f9fa07f07
Merge pull request #39935 from mrushyendra/datetime_negative
Fix weekday calculation in get_datetime_from_unix_time for negative times
2020-06-29 09:19:01 +02:00
Maganty Rushyendra aae5f246ff Fix weekday calculation in get_datetime_from_unix_time for negative times
Fix calculation for negative times to ensure Sundays are wrapped around to '0'
instead of '7', making it consistent with the output for positive times.
2020-06-29 14:27:10 +08:00
Mark Kuo e435d57758 VideoPlayer: fix possible race condition
In set_stream() we write to 'playback' while accessing the same object
in _mix_audio() in audio thread. Protect the 'write' part in
set_stream() to avoid possible crash in _mix_audio() function.
2020-06-29 13:01:54 +10:00
Stijn Hinlopen 7f6e8d25d4 Search ranking: favor filenames over extensions. 2020-06-29 00:45:30 +02:00
Tomasz Chabora 13298ed873 Improve the preload and load descriptions 2020-06-28 20:51:46 +02:00
Rémi Verschelde 481151be09
Merge pull request #39916 from reduz/sdfgi-occ
SDFGI: Slight occlusion improvements.
2020-06-28 14:42:03 +02:00
Juan Linietsky b1aa24ea3c Slight occlusion improvements. 2020-06-28 09:11:21 -03:00
Rémi Verschelde e1ef3f2da6
Merge pull request #39904 from m4gr3d/fix_focus_aware_option_master
Fix the logic to enable focus awareness
2020-06-28 09:09:38 +02:00
Rémi Verschelde 46b36805d9
Merge pull request #39910 from starryalley/fix-videoplayer-file-close
VideoStreamGDNative: close file in cleanup()
2020-06-28 08:59:42 +02:00
Mark Kuo 3b05d2c989 VideoStreamGDNative: close file in cleanup
We should close the file handle when we are done.
2020-06-28 10:20:07 +10:00
Fredia Huya-Kouadio 2d53b8173e Fix the logic to enable focus awareness 2020-06-27 16:43:08 -07:00
Rémi Verschelde 27378524f2
Merge pull request #39896 from KoBeWi/image_gallery
Generate inspector preview for Image resources
2020-06-27 23:25:43 +02:00
Rémi Verschelde 5054e27aa0
Merge pull request #39885 from hinlopen/improve-quick-open
QuickOpen improvements
2020-06-27 22:07:38 +02:00
Tomasz Chabora eb6a367cb7 Generate inspector preview for Image resources 2020-06-27 22:03:20 +02:00
Marcel Admiraal 79d3d3d17b Trigger broadphase update when changing collision layer/mask, and
check for collision layer/mask changes in 2D hash grid broadphase update.
2020-06-27 18:34:16 +01:00
PouleyKetchoupp 1043576ff3 Fix errors when creating windows on Windows
Detecting the case where WM_SIZE is received during the window creation.
There's no need to call window_resize on the Vulkan context.

Also creating a WindowData entry early enough to avoid storing a
separate WindowData wrongly associated to INVALID_WINDOW_ID.

Fixes #39199
2020-06-27 18:26:34 +02:00
Stijn Hinlopen c33707e9b4 Remove directory search results 2020-06-27 17:45:06 +02:00
Rémi Verschelde ff0583770a
Merge pull request #39869 from Chaosus/shader_fix_return
Prevents usage of return in main shader functions
2020-06-27 17:03:42 +02:00