Commit Graph

27416 Commits

Author SHA1 Message Date
Rémi Verschelde aee36ec01b
Merge pull request #36774 from giarve/fix-double-click-change-folder-editor-file-dialog
Double click on a folder didn't open it (editor)
2020-03-04 08:25:15 +01:00
Rémi Verschelde f09fd9dc6e
Merge pull request #36777 from kuruk-mm/os_getsystemdir
os: execute parse the command output from utf8
2020-03-04 08:16:26 +01:00
Thakee Nathees 08fef074c2 error_macros.h typo fixed 2020-03-04 10:35:31 +05:30
Mateo Dev .59 8a88637705 os: execute parse the command output from utf8 2020-03-03 21:58:50 -03:00
Gil Arasa Verge e060e0992a Double click on a folder didn't open it (editor)
Same behavior as #36684.
Removed by mistake in #36426.

Fixes #36757.
2020-03-03 19:43:37 +01:00
Fabio Alessandrelli 80582ffa66
Merge pull request #36557 from Schroedi/fix_html_touch
Fixes touch events for HTML
2020-03-03 16:08:18 +01:00
Rémi Verschelde 20595287b4
Merge pull request #36758 from akien-mga/signals-fix-default-values
Signals: Fix some regressions from #36426
2020-03-03 13:48:47 +01:00
Pedro J. Estébanez 9a3a2b03b8 Drop old semaphore implementation
- Removed platform-specific implementations.
- Now all semaphores are in-object, unless they need to be conditionally created.
- Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined.
- Similarly to `Mutex`, methods are made `const` for easy use in such contexts.
- Language bindings updated: `wait()` and `post()` are now `void`.
- Language bindings updated: `try_wait()` added.

Bonus:
- Rewritten the `#ifdef` in `mutex.h` to meet the code style.
2020-03-03 13:20:42 +01:00
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
Pedro J. Estébanez aee586553a Improve UX of drive letters
Namely, move the drive dropdown to just the left of the path text box and don't include the former
in the latter.

This improves the UX on Windows.

In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its
dropdown is kept at the original location.
2020-03-03 10:38:34 +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
Aaron Franke d961663707
Document that SpringArm exclusions only work with PhysicsBody objects 2020-03-03 03:18:52 -05:00
Hugo Locurcio fda2558ff7
Tweak the GIProbe gizmo to be more subtle 2020-03-02 23:22:50 +01:00
Fabio Iotti 4f8d1c47b8 Fix OGG audio loops 2020-03-02 21:36:01 +00:00
Hugo Locurcio 46bc1a7c3f
Improve the GIProbe editor contextual label
- Change the label color depending on the estimated performance
  (green = fast, yellow = average, red = slow).
- Use the Unicode multiplication symbol.
- Make the label translatable.
2020-03-02 22:09:38 +01: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
qarmin 1f209bfc41 Fixes bugs found by Sonarcloud and Coverity 2020-03-02 19:17:20 +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
Pierre Caye 222a934e60 add a precision about the intended use of the ConcavePolygonShape 2020-03-02 13:15:38 +01:00
Andrea Catania e967a92c1b Fixed rset method for gdscript and visual script 2020-03-02 10:22:07 +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
Dominik 'dreamsComeTrue' Jasiński 319840bad1 Take correct part of extension with File Dialog
Fixes #36697
2020-03-01 09:44:48 +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