Commit graph

26992 commits

Author SHA1 Message Date
Rémi Verschelde
48ed841dd0 Signals: Fix some regressions from #36426
- Fix `callable_mp` bindings to methods which used to have default
  arguments passed to `bind_method`. We now have to re-specify them
  manually when connecting.
- Re-add `GroupsEditor::update_tree` binding.
- Misc code quality changes along the way.
2020-03-03 11:44:06 +01:00
Rémi Verschelde
da8a0913f4
Merge pull request #36689 from eevee/patch-1
Fix inverted use of Camera2D.offset_v
2020-03-03 10:39:12 +01:00
Rémi Verschelde
3c7d92c590
Merge pull request #36742 from bruce965/loop-ogg-audio
Fix OGG audio loops
2020-03-03 10:29:38 +01:00
Fabio Iotti
4f8d1c47b8 Fix OGG audio loops 2020-03-02 21:36:01 +00:00
Rémi Verschelde
c9768f15f7
Merge pull request #36730 from raulsntos/print-null-check
Fix missing null check in Mono Binding of GD.print
2020-03-02 19:32:54 +01:00
Rémi Verschelde
c292aab247
Merge pull request #36691 from clayjohn/VULKAN-cubemap-roughness
Improve cubemap importance sampling
2020-03-02 19:32:19 +01:00
Rémi Verschelde
0c22f5a447
Merge pull request #36731 from m4gr3d/fix_android_templates_install_detection
Fix android template install validation.
2020-03-02 17:52:49 +01:00
fhuya
5b80dc9a2a Fix android template install validation. 2020-03-02 10:53:05 -05:00
Raul Santos
6b9c22542f
Fix missing null check in Mono Binding of GD.print 2020-03-02 16:26:29 +01:00
Rémi Verschelde
e2b66cacf7
Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodes
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-03-01 23:00:42 +01:00
Rémi Verschelde
55396d6e06
Merge pull request #36621 from WizardOhio24/fix-wrong-selection-on-line-clone-down
Fix wrong selection on cloning a line down in the editor
2020-03-01 15:53:55 +01:00
Rémi Verschelde
0e25f54755
Merge pull request #36404 from rxlecky/fix-variant-conversion
Fix Variant to Vector<Variant> conversion operator
2020-03-01 09:30:28 +01:00
Rémi Verschelde
323ef1acdb
Merge pull request #36696 from Chaosus/fix_echo
Fix InputEventKey::echo property type from INT to BOOL
2020-03-01 09:28:01 +01:00
Rémi Verschelde
f05bbe6932
Merge pull request #36698 from clayjohn/VULKAN-free-ref-probes
Properly free reflection probe atlas
2020-03-01 09:26:17 +01:00
Rémi Verschelde
1ab695bf37
Merge pull request #36695 from clayjohn/ETC-mipmaps-4
Force mipmaps off when importing RGBA4444 textures
2020-03-01 08:29:42 +01:00
clayjohn
a422b8c497 Properly free reflection probe atlas 2020-02-29 23:26:57 -08:00
Yuri Roubinsky
5e3c64828a Fix InputEventKey::echo type from INT to BOOL 2020-03-01 09:52:37 +03:00
clayjohn
0c3af32d77 Force mipmaps off when importing RGBA4444 textures 2020-02-29 19:46:06 -08:00
clayjohn
6bb5117955 Improve cubemap importance sampling 2020-02-29 17:16:50 -08:00
Eevee
40816574ac
Fix inverted use of Camera2D.offset_v
The code above for horizontal movement uses the right margin (_positive_ x direction) when the offset is negative, but vertical movement uses the top margin (_negative_ y direction) when the offset is negative.

The resulting problem is easily seen in the editor — set the drag margins to be asymmetrical, turn on drawing the drag margins, and slide the offsets from -1 to 1 and back.  The horizontal offset moves the camera's center between the left and right margins, but the vertical offset gets them backwards and will move the camera outside the margins entirely.
2020-02-29 16:50:33 -07:00
Rémi Verschelde
2a15304572
Merge pull request #36684 from giarve/fix-double-click-change-folder-file-dialog
Double click on a folder didn't open it
2020-02-29 23:34:13 +01:00
Rémi Verschelde
93dd3d29d2
Merge pull request #36679 from clayjohn/VULKAN-mem-leak
Remove minimum size for shadow atlas
2020-02-29 23:32:16 +01:00
Rémi Verschelde
5332853b62 doc: Fix wrong reference after last update 2020-02-29 22:35:23 +01:00
Gil Arasa Verge
c27811ee68 Double click on a folder didn't open it
There is a deferred call to _update_file_list inside _tree_item_activated but it was not bound.
2020-02-29 21:11:03 +01:00
clayjohn
03d46ea804 Remove minimum size for shadow atlas 2020-02-29 10:09:15 -08:00
Richard Menzies
28f74327be Fix wrong selection on cloning a line down in the editor 2020-02-29 16:29:48 +00:00
Rémi Verschelde
16486a9055 doc: Sync classref with current source 2020-02-29 14:22:57 +01:00
Rémi Verschelde
1399747532
Merge pull request #36667 from simpuid/paste-params-undo-feature
Implement undo-redo feature for Parameter Paste in the Inspector
2020-02-29 14:12:54 +01:00
Rémi Verschelde
e4bc16b7b6
Merge pull request #36673 from timothyqiu/crash-fix
Fixes a crash on startup
2020-02-29 12:26:59 +01:00
simpuid
f817ba8379 Implement undo-redo feature for Parameter Paste in the Inspector
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"

Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
2020-02-29 16:52:12 +05:30
Rémi Verschelde
cb91f8d971
Merge pull request #36406 from nathanwfranke/revert-fix-signal-errors
Partial revert "Fix two signal errors"
2020-02-29 12:11:53 +01:00
Rémi Verschelde
8c3ec8c014
Merge pull request #36422 from madmiraal/fix-csg
Fix multiple issues with CSG module.
2020-02-29 12:10:36 +01:00
Haoyu Qiu
771e66b080 Adds null check of pMessageIdName 2020-02-29 18:26:38 +08:00
Yuri Roubinsky
8ffa35e44f
Merge pull request #36668 from Chaosus/shader_fix_range
Fix shader's step hint range for integers
2020-02-29 10:15:08 +03:00
Yuri Roubinsky
924a9bfd16 Fix shader's step hint range for integers 2020-02-29 09:56:02 +03:00
Rémi Verschelde
5bbb057cc9
Merge pull request #36648 from clayjohn/VULKAN-env-filter
Reduce descriptor sets in cubemap filter
2020-02-28 22:28:15 +01:00
Rémi Verschelde
cafa4ae3bd
Merge pull request #36653 from YeldhamDev/icons_for_the_icon_god
Add more missing icons (and adjust a few)
2020-02-28 22:07:50 +01:00
Rémi Verschelde
f3c7019177
Merge pull request #36658 from reduz/fix-resource-loader-text
Properly handle EOF when parsing text resource
2020-02-28 22:04:40 +01:00
Juan Linietsky
c9cab7ac9f Properly handle EOF when parsing text resource
Fixes #36652
2020-02-28 17:45:33 -03:00
Michael Alexsander
687f72ba28 Add more missing icons (and adjust a few) 2020-02-28 15:00:10 -03:00
clayjohn
74f6e3e1aa Reduce descripter sets in cubemap filter 2020-02-28 09:07:09 -08:00
Rémi Verschelde
620030b600
Merge pull request #36640 from reduz/resource-loader-refactor
Removed ResourceInteractiveLoader, add built-in threaded loading.
2020-02-28 17:21:16 +01:00
Rémi Verschelde
324e5a60dd
Merge pull request #36426 from akien-mga/calling-all-stations
Signals: Port connect calls to use callable_mp
2020-02-28 17:19:08 +01:00
Juan Linietsky
475e4ea67b Removed interactive loader, added proper thread loading. 2020-02-28 11:20:45 -03:00
Rémi Verschelde
32ccf306f9 ConnectionsDock: Fix error when parsing CustomCallable connections 2020-02-28 14:32:36 +01:00
Rémi Verschelde
09a6a2d8f8 Signals: Port more uses of connect_compat
Those were problematic as they call a method of their parent class,
but callable_mp does not allow that unless it's public.

To solve it, we declare a local class that calls the parent class'
method, which now needs to be protected to be accessible in the
derived class.
2020-02-28 14:24:09 +01:00
Mateo Dev .59
b8f08b42e7 Signals: Fix signals error prints for the new signal system 2020-02-28 14:24:09 +01:00
Rémi Verschelde
f742dabafe Signals: Manually port most of remaining connect_compat uses
It's tedious work...

Some can't be ported as they depend on private or protected methods
of different classes, which is not supported by callable_mp (even if
it's a class inherited by the current one).
2020-02-28 14:24:09 +01:00
Rémi Verschelde
01afc442c7 Signals: Port connect calls to use callable_mp
Remove now unnecessary bindings of signal callbacks in the public API.
There might be some false positives that need rebinding if they were
meant to be public.

No regular expressions were harmed in the making of this commit.
(Nah, just kidding.)
2020-02-28 14:24:09 +01:00
Rémi Verschelde
a439131c2b
Merge pull request #36637 from KoBeWi/policon
Add unique icon to Polygon2D
2020-02-28 14:08:57 +01:00