Commit graph

21075 commits

Author SHA1 Message Date
Daw11
28bff3d1ad Implement Lanczos image filter 2019-05-05 14:03:56 +02:00
ShyRed
77ab9ba252 Fix generation of Mono Glue for Visual Studio 2017+
vsnprintf definition should only be changed when MSC version is older than 2013. The version check and fix is taken from StringUtils.h of assimp.
2019-05-05 12:39:02 +02:00
Max Hilbrunner
d8617f237a
Merge pull request #28643 from t-karcher/patch-1
Update of RigidBody2D class description
2019-05-05 08:36:45 +02:00
Max Hilbrunner
f935c1ff9a
Merge pull request #28681 from lopho/dict-doc
Document dictionary erase return value
2019-05-05 08:33:43 +02:00
yakun.zhang
2206c5e9c0 fix CollisonShape changing shape cause crash when not in a tree 2019-05-05 13:30:58 +08:00
Colin Redman
359d7f178c Fix ParallaxBackground breaking when moving it out the scene tree 2019-05-04 17:09:33 -07:00
lopho
5ce9bfcb4f Document dictionary erase return value 2019-05-04 21:10:18 +02:00
megalike
c6310e9a7e Support Mac OS default delete char hotkeys 2019-05-04 17:15:32 +03:00
Leonard Meagher
f7eb426e2e Allow overriding how scripted objects are converted to strings
solves #26796

- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03 15:06:05 -07:00
Rémi Verschelde
84401e8cdf
Merge pull request #28629 from YeldhamDev/findfiles_always_available
Make "Find in Files" always available in the script editor
2019-05-03 23:00:45 +02:00
Michael Alexsander Silva Dias
a5dfb3ae5d
Merge pull request #28656 from YeldhamDev/tabcontainer_icon_title_update
Make 'TabContainer' update when icon/title is changed
2019-05-03 16:07:19 -03:00
Anish
f0757f31a4 Fixes VideostreamGDNative crash on audio_channel=0.
Added an if case to check if the mix_callback exists before running any
of the audio code.

Fixes: #28644
2019-05-04 00:34:58 +05:30
Michael Alexsander Silva Dias
37f4d51a75 Make 'TabContainer' update when icon/title is changed
Fixes #28655.
2019-05-03 14:55:32 -03:00
Rémi Verschelde
c2251eab51
Merge pull request #28603 from bojidar-bg/24134-typed-array-share
Fix typed arrays and dictionaries getting their values shared
2019-05-03 18:35:57 +02:00
Rémi Verschelde
7b64a24eb3
Merge pull request #28548 from YeldhamDev/check_button_disabled_icon
Add "disabled" icon for 'CheckButton'
2019-05-03 14:55:32 +02:00
Rémi Verschelde
7e4cb80d4c
Merge pull request #27594 from marxin/fix-duplicate-conditions
Fix duplicated conditions.
2019-05-03 14:46:44 +02:00
Rémi Verschelde
913620a9b8
Merge pull request #28640 from bojidar-bg/17885-navmesh-entry-broken
Fix navmesh not finding optimal paths
2019-05-03 12:20:39 +02:00
Thomas Karcher
1170b78e28
Update of RigidBody2D class description
Added a hint in the RigidBody2D class description regarding the transformation issue mentioned in https://github.com/godotengine/godot/issues/5734
2019-05-03 10:49:54 +02:00
Yuri Roubinsky
184bd3f6e5
Merge pull request #28641 from Chaosus/fix_vs_collapse
Fixed incorrect collapsing visual shader tree
2019-05-03 11:32:13 +03:00
Bojidar Marinov
f1b7b74d65
Fix navmesh not finding optimal paths
Addresses part of #17885
2019-05-03 11:13:03 +03:00
Chaosus
8a8b7af638 Fix collapse visual shader tree 2019-05-03 11:10:08 +03:00
Rémi Verschelde
d962820453
Merge pull request #28620 from megalike/fix_mac_os_move_cursor
Fix Mac OS move cursor behaviour
2019-05-03 09:51:57 +02:00
Rémi Verschelde
f1e39e1fc8
Merge pull request #28636 from bojidar-bg/d2426-panel-styles
Remove unused panelf and panelnc styles
2019-05-03 09:40:11 +02:00
Bojidar Marinov
3d47dad2b1
Remove unused panelf and panelnc styles
Fixes godotengine/godot-docs#2426
2019-05-03 09:44:46 +03:00
Yuri Roubinsky
0619d5d7b2
Merge pull request #28635 from Chaosus/fix_build
Fix build visual_shader_editor_plugin
2019-05-03 09:01:27 +03:00
Chaosus
e57d761f9b Fix build visual_shader_editor_plugin 2019-05-03 08:50:00 +03:00
Michael Alexsander Silva Dias
52651509f0 Make "Find in Files" always available in the script editor 2019-05-02 20:07:06 -03:00
clayjohn
a3d5aec68d added MSAA to GLES backend 2019-05-02 14:24:20 -07:00
Max Hilbrunner
c50ab02e4c
Merge pull request #28608 from lopho/patch-1
Document CollisionObject2D pickable requires collision_layer
2019-05-02 22:34:33 +02:00
megalike
39398f173e Fix Mac OS move cursor behaviour 2019-05-02 21:13:41 +03:00
Michael Alexsander Silva Dias
3eb5d1b525 Hide "Built-in Script" option in the script creation dialog when not possible 2019-05-02 13:42:21 -03:00
Michael Alexsander Silva Dias
acadfe0a49 Add "disabled" icon for 'CheckButton' 2019-05-02 13:39:56 -03:00
Rémi Verschelde
262924296b
Merge pull request #27415 from aqnuep/kinematicbody_fixes
KinematicBody performance and quality improvements
2019-05-02 18:03:58 +02:00
Rémi Verschelde
a2213bfb60
Merge pull request #28613 from YeldhamDev/scriptdiag_inherent_fix
Fix script dialog asking for a correct inheritance when not needed
2019-05-02 18:01:32 +02:00
Rémi Verschelde
d6aa2858b4
Merge pull request #28609 from bojidar-bg/27152-indirect-code-completion
Fix slight issues with autocompletion and member lists in GDScript
2019-05-02 18:00:48 +02:00
Rémi Verschelde
b0931806c2
Merge pull request #28611 from YeldhamDev/popupmenu_regressionmania
Fix regression in 'PopupMenu' when icons have different values for width and height
2019-05-02 17:12:37 +02:00
Michael Alexsander Silva Dias
73d95f1006 Make small changes to the script dialog 2019-05-02 12:04:33 -03:00
Michael Alexsander Silva Dias
6cb4ef1c55 Fix script dialog asking for correct inheritance when not needed 2019-05-02 12:04:05 -03:00
Michael Alexsander Silva Dias
d6489374e7 Fix regression in 'PopupMenu' when icons have different values for width and height 2019-05-02 11:40:13 -03:00
Rémi Verschelde
0eb924a425
Merge pull request #28447 from fire/vs_reorder_search
Change order of Visual Script Search and Misc VS UX
2019-05-02 16:25:01 +02:00
Bojidar Marinov
f9d9530902
Fix slight issues with autocompletion and member lists in GDScript
Fixes #27152
Fixes #28591
2019-05-02 17:13:45 +03:00
lopho
da73bcca6f
Document CollisionObject2D pickable requires collision_layer
Documents CollisionObject2D mouse_entered, mouse_exited and input_event requiring at least one collision_layer to be set.
2019-05-02 15:43:28 +02:00
Siddharth
dc7533517f Update editor_settings.cpp
Update editor_settings.cpp

Update editor_themes.cpp

Update editor_settings.cpp
2019-05-02 18:23:37 +05:30
Bojidar Marinov
aff9320ff2
Fix typed arrays and dictionaries getting their values shared 2019-05-02 14:00:33 +03:00
marxin
cdf54d6c5f Ignore a warning in _get_socket_error (-Wlogical-op).
drivers/unix/net_socket_posix.cpp: In member function 'NetSocketPosix::NetError NetSocketPosix::_get_socket_error()':
drivers/unix/net_socket_posix.cpp:197:22: warning: logical 'or' of equal expressions [-Wlogical-op]
  197 |  if (errno == EAGAIN || errno == EWOULDBLOCK)
      |                      ^

and:

modules/mono/utils/string_utils.cpp: In function 'int {anonymous}::sfind(const String&, int)':
modules/mono/utils/string_utils.cpp:68:48: error: logical 'or' of collectively exhaustive tests is always true [-Werror=logical-op]
      found = src[read_pos] == 's' || (c >= '0' || c <= '4');
                                       ~~~~~~~~~^~~~~~~~~~~
2019-05-02 11:11:52 +02:00
Rémi Verschelde
21e2419e24
Merge pull request #28599 from akien-mga/locale-names
Locales: Add some missing locale names
2019-05-02 10:15:58 +02:00
Rémi Verschelde
867b96eb71 Locales: Add some missing locale names 2019-05-02 09:22:40 +02:00
Yuri Roubinsky
d42f11b259
Merge pull request #28598 from Chaosus/fix_vs_switching
Fix input entries when switching to new visual shader
2019-05-02 10:15:21 +03:00
Chaosus
62b7132947 Fix input entries when switching to new visual shader 2019-05-02 10:00:08 +03:00
Rémi Verschelde
b7cd9794fe
Merge pull request #28568 from Faless/net/lws_rollback_3.0.1_pr
Roll back libwebsockets to version 3.0.1
2019-05-02 08:15:23 +02:00