Commit graph

16415 commits

Author SHA1 Message Date
Rémi Verschelde 0faafa6f4d Fix crash when extending non-existing GDScript file
Fixes #21682 with a partial revert of #21411.
The ~Ref() destructor (from 'scriptres') already takes care
of freeing the 'script' resource.
2018-09-10 20:46:20 +02:00
Rémi Verschelde 864a314340
Merge pull request #21949 from marcelofg55/wasapi_init_fix
Fix possible crash when switching audio device on WASAPI driver
2018-09-10 20:41:51 +02:00
Marcelo Fernandez 10a4925159 Fix possible crash when switching audio device on WASAPI driver 2018-09-10 15:12:02 -03:00
Rémi Verschelde db26c1205c
Merge pull request #21937 from romlok/remotetransform
Clarify which direction RemoteTransform[2D] work
2018-09-10 19:10:44 +02:00
Rémi Verschelde 772b398ad8
Merge pull request #21886 from RyanStein/bugfix-15509
Check for double-colon on open recent script.
2018-09-10 19:06:41 +02:00
Rémi Verschelde 497853c383
Merge pull request #21882 from DualMatrix/animation_track
Fixed animation_player errors displaying wrong property.
2018-09-10 19:01:18 +02:00
Rémi Verschelde ec788e1ac4
Merge pull request #21879 from willnationsdev/script-name-empty
Fix ScriptCreateDialog passing script w/ no filename
2018-09-10 18:58:21 +02:00
Rémi Verschelde e883edfac9
Merge pull request #21872 from Paulb23/fix_backwards_search
Fix backwards search in TextEdit selecting non-whole words, issue 15677
2018-09-10 18:52:35 +02:00
Rémi Verschelde 87e0563116
Merge pull request #21491 from AlexHolly/fix-textedit-uncomment-spamm
Uncommenting a selection was not updating the selection.
2018-09-10 18:48:41 +02:00
Rémi Verschelde 76b211540e
Merge pull request #21865 from Calinou/tweak-android-export-errors
Tweak Android-related error messages in the Export dialog
2018-09-10 18:47:53 +02:00
Rémi Verschelde 0dd7e02350
Merge pull request #21859 from avencherus/fix-scancode-colon
Changed Windows key translate pair from KEY_COLON to KEY_COMMA.
2018-09-10 18:38:39 +02:00
Rémi Verschelde 5007b415c1
Merge pull request #21850 from DualMatrix/error_spam
Fixed error spam when inspecting remote tree
2018-09-10 17:30:55 +02:00
Rémi Verschelde 6d7a8a6caa
Merge pull request #21939 from akien-mga/physics-check-shape-query-params
PhysicsServer: Add validity checks for shape query parameters
2018-09-10 17:16:47 +02:00
Rémi Verschelde de8522aeb6
Merge pull request #21846 from Calinou/tweak-light-instance-error
Tweak the Light instantiation error message and fix a typo
2018-09-10 17:09:01 +02:00
Rémi Verschelde 584f1ab0c5
Merge pull request #21842 from merumelu/curve-point-count
Bind Curve::get_point_count
2018-09-10 16:49:09 +02:00
Rémi Verschelde 5e900ebf29 PhysicsServer: Add validity checks for shape query parameters
Fixes #17439.
2018-09-10 16:30:16 +02:00
Rémi Verschelde de60714b91
Merge pull request #21857 from BastiaanOlij/fix_never_true_prealpha
Fixed a theoretical condition where prealpha prevents lighting
2018-09-10 16:02:58 +02:00
Rémi Verschelde fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
Mel Collins 12448e659a Clarify which direction RemoteTransform[2D] work 2018-09-10 15:54:32 +02:00
Rémi Verschelde 04eb6046c5
Merge pull request #21831 from JFonS/fix_13849
Fix selection of spatial nodes after selecting a non-spatial one.
2018-09-10 15:39:31 +02:00
Rémi Verschelde a2d2fbe8a6
Merge pull request #21784 from guilhermefelipecgs/fix_resized_mouse_confined
Fix mouse confined leaving window with OS_Windows::set_window_position
2018-09-10 15:34:49 +02:00
Vivatchai Kaveeta 463ead1eb7 Fix cubic spline interpolation in glTF importer
Should solve #21001 #14636
2018-09-10 20:02:39 +07:00
Rémi Verschelde c0df3b147e Make sure project manager gets editor hint set
Previous fix in e8e06b2 worked in most cases but not if you run e.g.
'godot -', where the '-' argument would mean that 'project_manager'
is false and yet that's what will be opened eventually.
2018-09-10 14:53:45 +02:00
Rémi Verschelde 0f6803ea77
Merge pull request #21841 from char0xff/fix-array
Fix mistake in Array.xml
2018-09-10 14:23:26 +02:00
VirtualBox cfb54df986 Fix mistake in Array.xml 2018-09-10 13:42:45 +02:00
Max Hilbrunner 8a8a5e6c07
Merge pull request #21925 from ZodmanPerth/master
Clarification about Input.get_accelerometer() usage
2018-09-10 13:42:31 +02:00
Rémi Verschelde 32cc267906
Merge pull request #21927 from akien-mga/pm-editor-hint
Set editor hint for the project manager
2018-09-10 12:48:38 +02:00
Rémi Verschelde fd74dd15ad
Merge pull request #21820 from capnm/fix-GradientTexture-width-property
Set the lower bound for the GradientTexture width property to 1
2018-09-10 12:41:58 +02:00
Rémi Verschelde e8e06b2c9a Set editor hint for the project manager
Fixes #21823.
2018-09-10 12:39:01 +02:00
Carl Scarlett 91aa940b42 added clarification about Input.get_accelerometer only working when project is exported 2018-09-10 17:20:17 +08:00
Rémi Verschelde d9a96878f2
Merge pull request #21921 from AndreaCatania/bugfix2
Fix bullet crashes
2018-09-10 08:20:15 +02:00
Rémi Verschelde 0b5041a627
Merge pull request #21920 from Noshyaar/indent
Fix indentation in bullet SCsub
2018-09-10 08:16:12 +02:00
Andrea Catania b252e66414 Fiex bullet crash 2018-09-10 07:55:11 +02:00
Poommetee Ketson bb0e8d260c Fix indentation in bullet SCsub 2018-09-10 12:22:23 +07:00
Hein-Pieter van Braam 9a1deedb84 When resizing an X11 window wait for the WM to process our request
On X11 when we send an XResizeWindow request to the X server it is happy
to say it is done when the request has been handed over to the window
manager. The window manager itself may however take some time to
actually do the resize. Godot expects that a resize request is
immediate. To work around this issue we could implement the whole
_NET_WM_SYNC_REQUEST protocol. However this protocol does not fit very
well with the way we currently process X events and would when
implemented in the current framework still cause a 1 frame delay between
a resize request and the actual resize happening.

This fixes #21720
2018-09-10 00:12:23 +02:00
George Marques af290f7b7d
Merge pull request #21866 from Paulb23/fix_scientific_notation_highlight_issue_21435
Fixed scientific notation not highlighting correctly, issue 21435
2018-09-09 18:21:33 -03:00
groud 1d83f36a26 Fixes 2D nodes lock not working 2018-09-09 22:17:54 +02:00
Hein-Pieter van Braam 4b92ca1cce Update X11 global mouse position at startup
When we start the engine we haven't yet gotten any X11 motion events so
we don't yet know where our mouse cursor is located. Instead we now
query the X server for this information when we start and update the
appropriate values.

In addition when we move the window we also update the mouse position
based off of X server knowledge as we will also not have received any
mouse motion events.

this fixes #8145 (for X11 only)
2018-09-09 22:17:27 +02:00
JFonS fdb6987eb4 Clear cache after reimporting an ArrayMesh 2018-09-09 20:58:15 +02:00
JFonS 216ba4cc8b Fix SoftBody gizmo slowness, add ConcaveShape wireframe 2018-09-09 19:39:34 +02:00
Rémi Verschelde 2f6f920884 Drop deprecated compatibility methods from AnimatedSprite
They were deprecated in 2.1, but never properly identified as such
and thus never removed.

Fixes #21765.
2018-09-09 15:25:49 +02:00
Rémi Verschelde 1093c0ff51
Merge pull request #21783 from xsellier/feature/clipboard-android
Add clipboard operation for android OS
2018-09-09 14:53:23 +02:00
Ryan Stein 13370e3e09 Merge debugger's error and stack trace lists into one tree interface. 2018-09-08 22:36:40 -04:00
Ryan Stein 1cdc04c9c4 Check for double-colon on open recent script. 2018-09-08 22:26:05 -04:00
DualMatrix bb58bcfff6 Fixed animation_player errors displaying wrong property.
Fixed animation_player errors displaying wrong property. It appears the cache wasn't created property.

This fixes #17718
2018-09-09 00:32:57 +02:00
Juan Linietsky ffe158ae85
Merge pull request #21861 from fire/visual_script_18024
Change the default variable Visual Script constructor to use EditorInspector and etc
2018-09-08 17:05:03 -03:00
willnationsdev 69c09ab2fd Fix ScriptCreateDialog passing script w/ no filename 2018-09-08 15:04:55 -05:00
DualMatrix dd6074010c Fixed the remove_line function in richtextlabel. It was totally broken
Fixed the remove_line function in richtextlabel. It was totally broken

This fixes #21037
2018-09-08 20:34:37 +02:00
Ryan Stein 7fdb8f72c0 Make _sort_list_on_update true before opening new help or script files in the ScriptEditor. 2018-09-08 14:33:54 -04:00
Paulb23 e474b4a444 Fix backwards search in TextEdit selecting non-whole words, issue 15677 2018-09-08 14:54:41 +01:00