Commit graph

17294 commits

Author SHA1 Message Date
Rémi Verschelde 9d926b72e1 Fix .pck lookup for extensionless binary names with a dot
This was not a problem on Windows as binary names are guaranteed to end
with '.exe', but on Unix systems binary extensions are purely cosmetic
and thus optional, which is a problem when using `get_basename()` to
lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188).

To fix this, ProjectSettings::setup now checks for both basename + '.pck'
and filename + '.pck'.

Fixes #15188, supersedes and closes #22755.

Also took the opportunity to improve documentation on this core method.
2018-10-24 20:11:39 +02:00
Rémi Verschelde 8c37c1e98d
Merge pull request #22920 from DualMatrix/error_already_connect
Fixed error when duplicating a scene which has connection
2018-10-24 19:07:37 +02:00
Rémi Verschelde b41301e6f9
Merge pull request #22899 from J08nY/fix/assignment-operation-array
Do not make a function that returns Variant::NIL a void function. Fix #22791
2018-10-24 19:04:31 +02:00
Rémi Verschelde 7664d2abeb
Merge pull request #23244 from ColinKinloch/osx_mouse_focus
Update mouse location on background scroll and window focus in macOS
2018-10-24 19:02:40 +02:00
Rémi Verschelde 468c2999d0
Merge pull request #23161 from groud/fix_fav_in_open_dialog
Fixes favorites not working in the open dialog
2018-10-24 19:01:47 +02:00
Rémi Verschelde 16bdfcfa4a
Merge pull request #23094 from RandomShaper/fix-crash-signal-to-danling-obj
Fix crash on signal/resume to dangling target
2018-10-24 19:01:15 +02:00
Rémi Verschelde 7aea8502f6
Merge pull request #22968 from jfmichaud31/CSGMesh_bug
fix bug #20255 on CSGMesh
2018-10-24 18:08:13 +02:00
Rémi Verschelde f62af9c2df
Merge pull request #23012 from RandomShaper/fix-touch-speed-tracking
Track screen drag speed
2018-10-24 17:56:37 +02:00
Rémi Verschelde d42fd8fa79
Merge pull request #23256 from JFonS/fix_17989
Fix editor only lights
2018-10-24 17:39:20 +02:00
groud ecec9b31c4 Fixes favorites not working in the open dialog 2018-10-24 17:06:07 +02:00
JFonS 99a097aff2 Fix editor only lights 2018-10-24 16:47:32 +02:00
Rémi Verschelde d42850f62e
Merge pull request #23201 from Ashafix/VectorSlicing
[DOCS] Added section that coordinates can be accessed via indexes
2018-10-24 16:32:49 +02:00
Ashafix bbfa37a29c Added section that coordinates can be accessed via indexes 2018-10-24 15:22:44 +01:00
Rémi Verschelde 0d97e9e4dd
Merge pull request #23255 from CakHuri/doc-projectsettings
[Docs] Repaired some words on ProjectSettings
2018-10-24 16:11:53 +02:00
M. Huri 325ecd1c2b [Docs] Repaired some words on ProjectSettings 2018-10-24 20:56:06 +07:00
Colin Kinloch 464842c62c Update mouse location on background scroll and window focus in macOS 2018-10-24 14:47:37 +01:00
Rémi Verschelde 1287e0300d
Merge pull request #23100 from pcbeard/osx_blankscreen_fix
macOS: Update context when window becomes the key window
2018-10-24 15:37:39 +02:00
Rémi Verschelde cfa8ef1f77
Merge pull request #23186 from BastiaanOlij/fix_gles2_stereo_sky
Fixed stereoscopic (VR) sky in GLES2
2018-10-24 15:16:36 +02:00
Rémi Verschelde 8a113b9143
Merge pull request #23175 from marcelofg55/input_buffer_fix
Fix possible audio input buffer issues
2018-10-24 14:59:57 +02:00
Rémi Verschelde b33acc3cb6
Merge pull request #23242 from nekomatata/mesh-instance
Get surface material count in MeshInstance for scripts
2018-10-24 14:23:43 +02:00
Rémi Verschelde 787379199d
Merge pull request #23253 from akien-mga/gles2-tangent-typo
GLES2: Fix typo in tangent calculation
2018-10-24 14:21:46 +02:00
Rémi Verschelde 053da2b487 GLES2: Fix typo in tangent calculation
Thanks @tagcup for the find.

Fixes #23234.
2018-10-24 11:10:16 +02:00
Max Hilbrunner 72db3000a5
Merge pull request #23200 from santouits/navpoldocs
NavigationPolygon descriptions of the class and methods
2018-10-23 23:38:33 +02:00
Patrick Beard d2ed3b224a Call -update when window becomes the key window 2018-10-23 07:22:40 -07:00
PouleyKetchoupp 68270964d4 Get surface material count in MeshInstance for scripts 2018-10-23 15:25:38 +02:00
Rémi Verschelde ee858d0d85
Merge pull request #23238 from dlasalle/specular_fog
Fix gles3 shader to actually multiply specular light by rev_amount for fog calculations.
2018-10-23 13:54:30 +02:00
Rémi Verschelde 841d62c2c9
Merge pull request #23241 from Faless/lws_more_fix
Remove unneeded strncpy in lws_client.
2018-10-23 13:23:12 +02:00
Fabio Alessandrelli e6a069119b Add missing EMWSServer::poll function.
Empty of course as server is not supported in HTML5, but the symbol must
be defined.
2018-10-23 12:49:24 +02:00
Fabio Alessandrelli bafcde805c Remove unneeded strncpy in lws_client.
Pass the String buffer directly, lws_client_connect_via_info will copy
them for us.
2018-10-23 12:31:47 +02:00
Rémi Verschelde a36a99b846
Merge pull request #23229 from CakHuri/fix-treshold
Fixed a typo, treshold to threshold.
2018-10-23 07:22:18 +02:00
Dominique LaSalle f39d14dd61 Fix gles3 shader to actually multiply specular light by rev_amount for fog calculations. 2018-10-22 21:09:34 -07:00
M. Huri 90efe5be08 Fixed a typo, treshhold to threshold. 2018-10-23 03:46:16 +07:00
Rémi Verschelde b77a411258
Merge pull request #23224 from capnm/fix-Align-selection-with-view-in-orthogonal-mode
Fix 'Align selection with view' in orthogonal mode
2018-10-22 17:17:05 +02:00
Rémi Verschelde 919573f7ce
Merge pull request #23223 from BlackSkySoftware/bugfix/20141
Fixes crash when loading *.escn resources with gdnative #20141
2018-10-22 17:15:21 +02:00
Martin Capitanio 808b46cfc2 Fix 'Align selection with view' in orthogonal mode
Fixes #23096
2018-10-22 17:05:16 +02:00
Maarten Heremans cf09952b6b Fixes crash when loading *.escn resources with gdnative #20141
The issue is that ResourceFormatLoaderText is a singleton. It was created in a faulty way in
ResourceFormatLoaderNativeScript::load
It was created on the stack, which caused the static singleton pointer to be overwritten. This
causes then segmentation faults if the singleton is used later on.

IMO singleton creation needs to made safer to avoid other similar issues in the future.
2018-10-22 16:45:02 +02:00
Rémi Verschelde 955a913a1f
Merge pull request #23204 from Baekalfen/master
Removed undeclared and unused variable, which caused a compile error
2018-10-22 08:36:15 +02:00
Max Hilbrunner c487cce6d0
Merge pull request #23206 from mhilbrunner/docs-streampeertcp
[DOCS] StreamPeerTCP
2018-10-21 22:28:58 +02:00
Max Hilbrunner 1df0900d8e
[DOCS] StreamPeerTCP 2018-10-21 22:28:21 +02:00
Max Hilbrunner 87c17f82be
Merge pull request #23205 from mhilbrunner/docs-ysort
[DOCS] YSort
2018-10-21 22:20:19 +02:00
Max Hilbrunner 1511a66a98
[DOCS] YSort 2018-10-21 22:19:46 +02:00
Mads Ynddal 16c0c037c8 Removed undeclared and unused variable, which caused a compile error 2018-10-21 21:55:30 +02:00
santouits 1c14b01422 NavigationPolygon descriptions of the class and methods 2018-10-21 20:38:57 +03:00
Rémi Verschelde 81c2ed61f6
Merge pull request #23196 from Paulb23/scene_tab_errors_issue_22890
Scene tabs closing and thumbnail errors, issue 22890
2018-10-21 18:08:31 +02:00
Paulb23 642ba881ea Don't create scene thumbnail before its saved, issue 22890 2018-10-21 15:55:58 +01:00
Paulb23 5c04535e10 Update Tab hover status when adding or removing tabs, issue 22890 2018-10-21 15:55:58 +01:00
Rémi Verschelde 3ac0e8d0df
Merge pull request #23181 from Calinou/tweak-min-panel-sizes-hidpi
Resize some editor panel minimum sizes on hiDPI displays
2018-10-21 11:26:58 +02:00
Timo a94e25016b
Merge pull request #22972 from YeldhamDev/3d_view_perspective_button
Make "Perspective" button look like a actual clickable button
2018-10-21 03:59:59 +02:00
Bastiaan Olij ef06079ad1 Fixed stereoscopic (VR) sky in GLES2 2018-10-21 11:36:01 +11:00
Hugo Locurcio f126b61748
Resize some editor panel minimum sizes on hiDPI displays
This also increases the plugin description TextEdit's height,
so that 3 lines can be viewed instead of just 2 (leaving a few pixels
for the scroll bar).
2018-10-20 22:09:42 +02:00