Commit Graph

46463 Commits

Author SHA1 Message Date
Vasiliy Makarov 641922782e Make Xcode recursive search frameworks in project dir 2019-05-14 19:12:20 +03:00
George Marques 9df1a2442b Show function name in debugger stack trace
Also show script and line when the instance is gone when resuming from
yield.
2019-05-14 11:39:44 -03:00
George Marques bdc6649b79 Keep GDScript functions in stack while yielding
This prevents GDScript functions from leaving the stack too soon when
they are resuming from yield, allowing the ones expecting it to finish
to know the caller.

Helps debugging cases when you use:
`yield(function_which_yields(), "completed")`
since now it shows the call that resumed that function.
2019-05-14 11:39:40 -03:00
Max Hilbrunner bdf79f4c6e Merge pull request #27569 from Faless/net/ipv4_link_local
Exclude link-local IPv4s from editor host list.
2019-05-14 16:08:16 +02:00
Max Hilbrunner d7114a68ad Merge pull request #28875 from Calinou/doc-improve-canvasitem
Improve the CanvasItem documentation
2019-05-14 15:56:57 +02:00
Hugo Locurcio 1cfa74bf92 Improve the CanvasItem documentation
This makes it clear that line width and antialiasing in
`draw_multiline()` aren't implemented yet (see #16448).
2019-05-14 09:10:00 +02:00
Rémi Verschelde aa3c5f59f2 Merge pull request #27898 from clayjohn/metallic_radiance
Added radiance when using clear color
2019-05-14 07:32:01 +02:00
Michael Alexsander Silva Dias c66bcedb7a Make "Onion Skinning" toggle its own button 2019-05-14 00:42:05 -03:00
Michael Alexsander Silva Dias 587986f654 Properly update script button when undoing a script addition
Fixes #28870.
2019-05-13 22:58:41 -03:00
clayjohn 65c211d303 Implement ability to render viewports directly to screen 2019-05-13 15:20:15 -07:00
Hugo Locurcio deb7152724 Quit the Project Manager when Command + Q is pressed
This uses the same shortcut as quitting Godot while in the editor.

This partially addresses #27251.
2019-05-13 22:17:16 +02:00
clayjohn 5c252092e1 added radiance when using clear color and fixed brdf 2019-05-13 12:26:54 -07:00
Gilles Roudiere e875f05c3b Improve the anchors and margin workflow 2019-05-13 18:55:31 +02:00
Rémi Verschelde 86a74e2cb3 Merge pull request #27798 from clayjohn/gles2-proj-mat-bug
Fixes bug when setting projection matrix in shader GLES2
2019-05-13 17:59:40 +02:00
Rémi Verschelde e0517a12c5 Merge pull request #28518 from clayjohn/GLES2-MSAA
Added MSAA to GLES2 backend
2019-05-13 17:46:11 +02:00
Rémi Verschelde a0a5047cfd Merge pull request #28723 from SouzaGuilherme/fix_shadows
Fix SHADOWS_DISABLED flag in GLES2
2019-05-13 17:22:57 +02:00
Rémi Verschelde 868ee3ea10 Merge pull request #28761 from aqnuep/texture_resource_reload_fix
Fix texture resource reload bug
2019-05-13 17:20:42 +02:00
Rémi Verschelde 8667e4abf7 Merge pull request #28750 from YeldhamDev/filedock_rmb_inherent
Make possible to create inherited scenes via the RMB menu in the FileSystem dock
2019-05-13 13:51:22 +02:00
Rémi Verschelde 0594db96a9 Merge pull request #28780 from bojidar-bg/x-audio-record-passthrough
Fix AudioEffectRecord messing up the effect stack by not writing to dst_frames
2019-05-13 13:50:34 +02:00
Rémi Verschelde 9beb26cef3 Merge pull request #28809 from bojidar-bg/x-navmesh-wrong-vertex-order
Fix orientation of generated navmeshes
2019-05-13 13:49:02 +02:00
Rémi Verschelde abc6dd7fa2 Merge pull request #28839 from Faless/gdnative/lib_resource_fix
Fix GDNative library resource loading.
2019-05-13 13:33:10 +02:00
Rémi Verschelde 647021e864 Merge pull request #28326 from BastiaanOlij/center_heightmap
Center shape according to logic Bullet applies
2019-05-13 12:58:00 +02:00
Rémi Verschelde 3fa84efb03 Merge pull request #28831 from dankan1890/spriteframes_sheet_fix
AnimatedSprite: Add from spritesheets now work as expected. Fix #28030
2019-05-13 12:13:07 +02:00
Rémi Verschelde 136f90ed77 Merge pull request #28729 from freestraws/animated_sprite_fps
Apply sprite frames editor FPS value correctly upon _animation_select
2019-05-13 10:09:03 +02:00
Max Hilbrunner 02fa58f4a7 Merge pull request #28832 from hbina/issue_28689_new
[Old PR was messed up] Document reproducability of Array.shuffle()
2019-05-13 02:30:20 +02:00
Fabio Alessandrelli aecbb330f3 Fix GDNative library resource loading.
Store general properties in ConfigFile too when modifying them.
Additionally set config_file property as internal as it's not editable
from inspector. It also does not appear to get saved in a meaningful way
(saved as Object(ConfigFile, ...))
2019-05-12 21:26:22 +02:00
Max Hilbrunner be3251b5c0 Merge pull request #28783 from Faless/mp/avoid_selfcall
Better handle some self-RSET/RPC in MultiplayerAPI
2019-05-12 20:18:32 +02:00
Fabio Alessandrelli 76f262d2f4 Better handle some self-RSET/RPC in MultiplayerAPI
Allow calling yourself via RPC/RSET if the mode allows it.
Better error messages when you are not allowed to call yourself.
2019-05-12 11:37:26 +02:00
Jummit 1d056d3921 change call mode to self when adding nodes with node search
fixes #28614
2019-05-12 09:27:05 +02:00
dankan1890 abeb61f220 AnimatedSprite: Add from spritesheets now work as expected. Fix #28030 2019-05-12 02:33:05 +02:00
hbina085 d02ecd5a18 updated description of Array.shuffle to properly describe that it uses the same common seed at every runtime, thus being reproducible in general 2019-05-11 18:04:47 -04:00
freestraws 537ee747be Apply sprite frames editor FPS value correctly upon _animation_select 2019-05-11 16:32:32 -04:00
Bojidar Marinov 4cf3113a1a Fix orientation of generated navmeshes
Fixes #23817
2019-05-11 21:39:52 +03:00
Jesse Dubay 1b9d26765f Allow constructing larger data types by swizzling
GLSL allows the construction of larger data types by swizzling smaller
ones, but Godot shading language treated this as an error:

  vec2 test2 = vec2(0.0, 1.0);
  vec3 test3 = test2.xxx; // error: Invalid member for vec2 expression

This commit updates the expression parser for the 2 and 3-component data
types accordingly.

Fixes #10496
2019-05-11 11:01:09 -07:00
miwanczuk cbc68a3e04 Change rules of indenting for spaces
Now indentations and deindentations of spaces attemt to align text to
closest full indent level. It works with tab/tab+shift (both with
selection and no selection) as well as backspace. Also fixes bug where
selection and cursor position were mispaced after (un)indenting selected
text.
2019-05-11 10:30:40 +02:00
Michael Alexsander Silva Dias dcf27c71b7 Make possible to create inherited scenes via the RMB menu in the FileSystem dock 2019-05-11 05:13:29 -03:00
Rémi Verschelde 89c37dae49 Merge pull request #28807 from bojidar-bg/28798-open-filesystem
Open selected folder when pressing the "Open" option in the menu
2019-05-11 09:49:34 +02:00
Rémi Verschelde 58c5eb781e Merge pull request #28742 from guilhermefelipecgs/fix_28737
[EditorSpatialGizmo] Fix error in intersect_ray
2019-05-11 09:45:08 +02:00
Rémi Verschelde fea0c8858e Merge pull request #28770 from volzhs/fix-scroll-back-top
Fix scroll back top
2019-05-11 09:44:11 +02:00
Ryan Stein 42d6205e8c Add RegEx substitution testcase and fix relevant docs
(cherry picked from commit a31bbb4bd920e28cbb2c737a785e91da5e7a599f)
2019-05-11 09:03:19 +02:00
Rémi Verschelde 06d28a7722 Merge pull request #28806 from bojidar-bg/28624-navmesh-cellsize
Allow or_greater for most properties of NavMesh
2019-05-11 08:41:07 +02:00
ahouts c9abff4bae add hotkeys to tileset editor 2019-05-10 18:08:56 -07:00
Bojidar Marinov fedf9cd379 Open selected folder when pressing the "Open" option in the menu
An attempt to fix #28798
2019-05-10 18:55:50 +03:00
Bojidar Marinov 68bee3d9a2 Allow or_greater for most properties of NavMesh
Closes #28624
2019-05-10 18:05:17 +03:00
Rémi Verschelde ecceabea7e Merge pull request #28800 from JFonS/fix_clipped_camera
Fixes to ClippedCamera
2019-05-10 11:13:20 +02:00
JFonS 9e97bac0cf Fixes to ClippedCamera
This work has been kindly sponsored by IMVU.
2019-05-10 10:35:15 +02:00
Hugo Locurcio 8c7ee6dac4 Tweak the default low-processor usage mode to be 144 Hz-friendly
On high-refresh rate displays, the old default value (8000) effectively
limited redrawing to 125 FPS, no matter whether V-Sync was enabled
or not. The new value limits redrawing to a value slightly above
144 FPS, decreasing input lag and making the editor feel smoother
when using freelook.

60 Hz displays aren't affected by this change when V-Sync is enabled,
since V-Sync will take care of limiting redrawing to 60 FPS.
2019-05-09 22:40:20 +02:00
Mitch Curtis 793b50651d Script Text Editor: respect Move Down and Move Up shortcuts on macOS
Handle shortcuts in CodeTextEditor::_input() so that we get them before its
text_editor's TextEdit::_gui_input() function does. If we don't, that
function will execute the following code:

				if (k->get_shift()) {
					_pre_shift_selection();
				}

    #ifdef APPLE_STYLE_KEYS
				if (k->get_command()) {

					cursor_set_line(0);
				} else
    #endif

So using Command+Shift+Up for the Move Up shortcut would just result in
selecting all text to the beginning of the document, rather than moving the
current line up.

Fixes #28059.
2019-05-09 21:08:43 +02:00
Rémi Verschelde 7112a45d99 Merge pull request #28784 from bruvzg/x11_check_extents_atoms
X11: Check if "_NET_FRAME_EXTENTS" atom is supported.
2019-05-09 18:30:08 +02:00
bruvzg 5714a5f4ea X11: Check if "_NET_FRAME_EXTENTS" atom is supported. 2019-05-09 19:12:31 +03:00