Commit graph

21074 commits

Author SHA1 Message Date
Max Hilbrunner
66937c1e82
Merge pull request #28919 from Faless/javascript/os_fixes
Fix OS_Javascript execute method
2019-05-15 21:59:30 +02:00
Frank Secilia
a4a0e64245 Fix indexing failure in NativeScriptLanguage::unregister_binding_functions.
binding_functions.size() and an instance's binding_data.size() can get out of sync. They sync up when an instance's bindings are requested. When binding functions are registered after creating an instance's bindings, the instance's bindings are out of sync until requested again. If they're never requested, they're never synced.

unregister_binding_functions indexes into binding_data, but only checks that its safe to index into binding_functions. When they're out of sync, indexing fails.

This revision checks that it's safe to index into binding_data.
2019-05-15 15:28:55 -04:00
Fabio Alessandrelli
6622091eaf Fix OS_Javascript execute method
Signature was changed in OS via:

cd4449e7ab
2019-05-15 19:24:20 +02:00
Fabio Alessandrelli
a95563208f Update GDNativeLibrarySingletonEditor.
Moved GDNative singletons discoverer from register_types to
GDNativeSingletonEditor.
Fix enable/disable switch in GDNativeLibrarySingletonEditor.
Separate `gdnative/singletons` and `gdnative/singletons_disabled`
project settings, keeping "on by default" behavior.
2019-05-15 18:08:17 +02:00
Michael Alexsander Silva Dias
be8dc97be7 Fix leftover connection to the "Open" signal in FileSystemDock
Fixes #28903.
2019-05-15 11:25:52 -03:00
dankan1890
81e48e2cf3 ScriptEditor: Changed the shortcut for contextual help in ALT + F1, to resolve the conflict with the help menu opening shortcut. 2019-05-15 14:27:24 +02:00
Rémi Verschelde
996abb83e3 doc: Fix issues found by the parser 2019-05-15 13:00:45 +02:00
Rémi Verschelde
30da18c01a doc: Sync classref with current source 2019-05-15 12:51:58 +02:00
Rémi Verschelde
27a3557a75
Merge pull request #28902 from groud/fix_nan_strength
Fix NaN with get_action_strength
2019-05-15 11:34:24 +02:00
Gilles Roudière
3bfa080c9c Fix NaN with get_action_strength 2019-05-15 11:21:10 +02:00
Rémi Verschelde
dc7a40f005
Merge pull request #28873 from YeldhamDev/undo_scriptbutton_update
Properly update script button when undoing a script addition
2019-05-15 09:50:38 +02:00
Rémi Verschelde
61b78e7f3b
Merge pull request #28891 from clayjohn/brdf-fix
Fix lighting bug introduced in clear color changes
2019-05-15 09:34:13 +02:00
clayjohn
55d11330b0 fix lighting bug introduced in clear color changes 2019-05-14 15:04:54 -07:00
Michael Alexsander Silva Dias
15cda53d80
Merge pull request #28583 from theoniko/show-long-name-variables-correctly
Fix First Ctrl+R and Ctrl+F not showing long name variables correctly
2019-05-14 21:53:36 +00:00
Max Hilbrunner
256bac6ba5
Merge pull request #28153 from DrMoriarty/recursive-framework-search-paths
Make Xcode recursively search frameworks in project dir
2019-05-14 21:06:05 +02:00
Vasiliy Makarov
641922782e Make Xcode recursive search frameworks in project dir 2019-05-14 19:12:20 +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
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