Commit Graph

13840 Commits

Author SHA1 Message Date
Juan Linietsky b6bf26a549
Merge pull request #17754 from Crazy-P/Resloves_Replace_all_doesnt_replace_all
Resloves Replace all doesnt replace all
2018-04-07 16:33:31 -03:00
Juan Linietsky 7dedb22f0b
Merge pull request #17809 from RandomShaper/menu-item-on-release
Improve popup menus usability
2018-04-07 16:22:00 -03:00
Juan Linietsky 829c455a48
Merge pull request #17840 from Dimonasdf/master
Fix Collada material roughness import function
2018-04-07 16:19:11 -03:00
Juan Linietsky 440b7a9690
Merge pull request #18015 from AndreaCatania/patch-1
Fixed signal input variable name
2018-04-07 16:06:14 -03:00
Juan Linietsky 704244ed88
Merge pull request #18032 from RandomShaper/fix-gltf-skeletons
Fix skeleton import from glTF
2018-04-07 15:53:05 -03:00
Paulb23 b571a29df5 Fixed color regions and added local color region cache 2018-04-07 14:14:19 +01:00
Pedro J. Estébanez 259ed1d400 Improve popup menus usability
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal.

This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item.

This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature.

This improves UX a bit by saving unnecessary clicks.

From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-04-07 01:06:02 +02:00
Thomas Herzog 3ad9e4740c
Merge pull request #18033 from touilleMan/pluginscript_fix_add_global_constant_mandatory
Pluginscript fix add global constant mandatory
2018-04-07 00:59:17 +02:00
Emmanuel Leblond adecd6f66f
Correct profiling_frame naming in pluginscript 2018-04-07 00:11:26 +02:00
Pedro J. Estébanez d8765dd103 Fix skeleton import from glTF
For some glTF files, the order of bones in the skeleton array wasn't matching the joints array in the meshes.

Fixes #17808.
2018-04-06 22:22:59 +02:00
Rémi Verschelde e6e911eb2b Update AUTHORS and DONORS list
New contributor added to AUTHORS:
@robfram

Thanks to all contributors and donors! :)

[ci skip]
2018-04-06 21:36:50 +02:00
Emmanuel Leblond e97336a557
Fix Pluginscript add_global_constant mandatory value check 2018-04-06 19:20:12 +02:00
Andrea Catania 2f9354016f
Fixed signal input variable name 2018-04-06 09:09:40 +02:00
Rémi Verschelde ec110076ca
Merge pull request #17970 from PJB3005/18-04-04-commandline-export-error-clarity
Explicitly print an error when --export fails.
2018-04-06 08:36:16 +02:00
Rémi Verschelde bdfa10fc8f
Merge pull request #17899 from AndreaCatania/area_cleaning
Fixed physics server area cleaning
2018-04-06 08:15:22 +02:00
Rémi Verschelde 31fd1b7711
Merge pull request #18011 from karroffel/nativescript-more-type-tag-fixes
[NativeScript] replace error macros by simple returns
2018-04-06 07:55:50 +02:00
Andrea Catania 776942981b Fixed physics server area cleaning 2018-04-06 07:48:30 +02:00
Rémi Verschelde 5d4b9c080a
Merge pull request #18002 from guilhermefelipecgs/remove_cursor_size_restriction
Remove size restriction for mouse cursor
2018-04-06 07:45:08 +02:00
karroffel 2e1f239fe6 [NativeScript] replace error macros by simple returns 2018-04-06 01:40:26 +02:00
Pedro J. Estébanez 1fc85b87bd Fix buggy percent-encoding
Fixes #17875.
2018-04-05 21:49:44 +02:00
Guilherme Felipe dc57632d66 Remove size restriction for mouse cursor 2018-04-05 15:41:09 -03:00
Thomas Herzog eaa5dfbdbd
Merge pull request #17980 from karroffel/nativescript-1.1-global-type-tags
[NativeScript] added global type tag system
2018-04-05 15:09:35 +02:00
Rémi Verschelde 43f298a783
Merge pull request #17984 from n4nn31355/fix_x11_segfault
Fix segfault on x11
2018-04-05 13:40:08 +02:00
Rémi Verschelde e1b9c98032
Merge pull request #17806 from Zylann/fix_heightmap_shape_size_check
Make heightmap shape usable in PhysicsServer
2018-04-05 13:29:57 +02:00
Rémi Verschelde 866254343b
Merge pull request #17827 from bruvzg/macos_shortcut_key_remapping_fix
[macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.
2018-04-05 13:22:52 +02:00
n4nn31355 bdc64efcb3 Fix segfault on x11 2018-04-05 05:23:38 +03:00
karroffel ad93d3e277 [NativeScript] added global type tag system 2018-04-05 00:06:33 +02:00
Rémi Verschelde a1f835df77
Merge pull request #17775 from sketchyfun/multiply_blendmode_fix
multiply blend mode fix for spatial materials
2018-04-04 22:41:36 +02:00
Rémi Verschelde 7e9aa89fb8
Merge pull request #17777 from bruvzg/macos_exit_code
[macOS] Return exit code specified by `OS.exit_code` parameter.
2018-04-04 22:35:40 +02:00
Rémi Verschelde e223702776
Merge pull request #17784 from Rubonnek/rename-shortcut
Added shortcut to rename files
2018-04-04 22:27:21 +02:00
Rémi Verschelde 919209907d
Merge pull request #17792 from eska014/enginejs-preloadpaths
Handle directories in engine.js preloadFile()
2018-04-04 22:26:14 +02:00
Rémi Verschelde bba80721dc
Merge pull request #17801 from endragor/android-input-checks
Add safety checks when handling Android input
2018-04-04 22:09:03 +02:00
Rémi Verschelde b35524db78
Merge pull request #17819 from Chaosus/absfix
Remove redundant unsigned abs shader builtin
2018-04-04 21:55:03 +02:00
Rémi Verschelde 90574a394a
Merge pull request #17978 from Paulb23/rename_gd_highlighter
Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighter
2018-04-04 21:31:13 +02:00
Paulb23 63c8d0f455 Renamed GDSyntaxHighlighter to GDScriptSyntaxHighlighter 2018-04-04 20:02:42 +01:00
Pieter-Jan Briers 4954982b95 Explicitly print an error when --export fails.
Previously this would not explicitly say the export failed.
Sure you might see another error somewhere,
but that's not very reliable/obvious.
2018-04-04 16:51:35 +02:00
Thomas Herzog 7ca2e73dea
Merge pull request #17965 from karroffel/gdnativelib-config-api
[GDNative] some GDNativeLibrary improvements
2018-04-04 16:09:37 +02:00
Rémi Verschelde c5bb997a8f
Merge pull request #17969 from Alexander-Alekseev/upd_xform_btns_using_shortcuts
Update transform buttons in tile editor while using T, A, S shortcuts
2018-04-04 15:31:10 +02:00
Alexander Alekseev 0853ac2006 Update transform buttons in tile editor while using T, A, S shortcuts (fixes #17962) 2018-04-04 16:02:44 +03:00
Max Hilbrunner cbe886b619
Merge pull request #17945 from romlok/cameradoctweaks
[DOCS] Tweaks and fixes for (Interpolated)Camera
2018-04-04 14:04:48 +02:00
karroffel f29139f3cf [GDNative] enable saving GDNativeLibrary as sub resource 2018-04-04 13:07:43 +02:00
Rémi Verschelde d991e99321
Merge pull request #17816 from NikodemL/fix_file_show_in_explorer
FIX: FILE_SHOW_IN_EXPLORER now correctly shows the file's directory
2018-04-04 12:31:05 +02:00
karroffel 57c0339d9f [GDNative] easier GDNativeLib handling 2018-04-04 12:24:10 +02:00
Rémi Verschelde 1d4b0751fe
Merge pull request #17884 from AndreaCatania/crash
Corrected physics query max result checking
2018-04-04 12:19:38 +02:00
Andrea Catania 444b8471a3 Corrected physics query max result checking 2018-04-04 11:55:58 +02:00
Rémi Verschelde e1fef9bd76
Merge pull request #17959 from AndreaCatania/kinfix2
Fixed kinematic sliding on trimesh
2018-04-04 11:21:49 +02:00
Andrea Catania b050525072 Fixed kinematic sliding on trimesh 2018-04-04 10:49:10 +02:00
Rémi Verschelde 950d4922a5
Merge pull request #17863 from covariantlabs/add-move-selected-tiles
Add functionality to move selected tiles in tile map editor
2018-04-04 09:54:08 +02:00
Rémi Verschelde 5ede505f14
Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighter
Abstracted the syntax highlighter from text edit.
2018-04-04 09:50:51 +02:00
Martin Rieke d538fcd92d Add functionality to move selected tiles in tile map editor
This change adds a new entry "Move Selection" to the "Tile Map"
menu in the tile map editor. It allows the user to easily move
as set of selected tiles.
2018-04-04 09:23:56 +02:00