Daniel Rakos
e34eb5c26c
Fix texture resource reload bug
...
If a non-imported texture resource file (e.g. DDS) gets updated the editor
doesn't reload it. The cause of the problem is two-fold:
First, the code of ImageTexture assumes that textures are always imported
from an image, but that's not the case for e.g. DDS. This change thus adds
code to issue a resource reload in case an image reload is not possible
(which is the case for non-imported texture resources).
Second, the code is filled with bogus calls to Image::get_image_data_size()
to determine the mipmap offset when that should be done using
Image::get_image_mipmap_offset(). Previous code literally passed the integer
mip level value to Image::get_image_data_size() where that actually expects
a boolean. Thus this part of the change might actually solve some other
issues as well.
To be pedantic, the texture_get_data() funciton of the rasterizer drivers is
still quite a mess, as it only ever returns the whole mipchain when
GLES_OVER_GL is set (practically only on desktop builds) but this change does
not attempt to resolve that.
2019-05-08 17:22:40 +02:00
Fabio Alessandrelli
0239d8bd9f
Merge pull request #28453 from Tarik02/enet_socket_set_option
...
Partially implement enet_socket_set_option
2019-05-07 10:14:52 +02:00
Rémi Verschelde
df18c8c413
Remove reduz from some autorequested code reviews
...
He's still one of the main architects of some of these code branches,
but quite often PRs that modify one or two files in such folders don't
necessarily need his input, and he has enough backlog to handle.
PR triagers will ask for his review manually whenever relevant. He's
left as code owner for physics/visual servers and rendering backends.
2019-05-06 18:32:45 +02:00
Rémi Verschelde
2a8cb46c8e
Merge pull request #28516 from Chaosus/fix_vs_mix_title
...
Renames captions of Scalar/VectorInterp in Visual Shaders
2019-05-06 17:34:15 +02:00
Rémi Verschelde
7013607ef9
Merge pull request #28365 from fire/split_clip_blend_shapes
...
Modify ResourceImporterScene to split animations with blendshapes.
2019-05-06 16:58:29 +02:00
Rémi Verschelde
fcbadd4334
Merge pull request #28525 from MunWolf/func_ref_validation
...
Added an is_valid function to FuncRef
2019-05-06 14:23:16 +02:00
Rémi Verschelde
958c915f60
Update AUTHORS and DONORS list
...
New contributors added to AUTHORS:
@Kanabenki, @KoBeWi
Thanks to all contributors and donors for making Godot possible!
2019-05-06 12:58:13 +02:00
Rémi Verschelde
0f8356d439
Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty
...
Make editor close empty scene when creating an inherited one
2019-05-06 11:08:01 +02:00
Rémi Verschelde
7b7a664a97
Merge pull request #28709 from YeldhamDev/tabcontainer_locale_update
...
Fix 'TabContainer' not updating its tab titles when locale is changed
2019-05-06 10:53:22 +02:00
Rémi Verschelde
563d4b0e7f
Merge pull request #28696 from raphael10241024/debug_fix
...
fix CollisonShape changing shape cause crash when not in a tree
2019-05-06 10:42:56 +02:00
Rémi Verschelde
1a3a0e3d95
Merge pull request #28679 from megalike/fix_mac_os_delete_char_hotkeys
...
Support Mac OS default delete char hotkeys
2019-05-06 10:17:22 +02:00
Rémi Verschelde
9123db748e
Merge pull request #28330 from BastiaanOlij/improve_multimesh
...
Added set_as_bulk_array, fixed transform2D saving and documentation
2019-05-06 09:57:48 +02:00
Michael Alexsander Silva Dias
648cc7c0f5
Make editor close empty scene when creating an inherited one
...
Fixes #28654 .
2019-05-06 02:01:01 -03:00
Michael Alexsander Silva Dias
a242bf464a
Fix 'TabContainer' not updating its tab titles when locale is changed
2019-05-06 01:59:34 -03:00
Ignacio Roldán Etcheverry
255ea11502
Merge pull request #28700 from ShyRed/fixmonogluewindows
...
Fix generation of Mono Glue for Visual Studio 2017+
2019-05-05 16:47:21 +02:00
Rémi Verschelde
5128430700
Merge pull request #28684 from credman0/master
...
Fix ParallaxBackground breaking when moving it out the scene tree
2019-05-05 15:44:50 +02:00
Rémi Verschelde
dcf8b0bbe4
Merge pull request #28657 from KidRigger/master
...
Fixes VideostreamGDNative crash on audio_channel=0.
2019-05-05 15:35:24 +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
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
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