Rémi Verschelde
9ce8d8ddda
Merge pull request #18261 from flashyincceo/export-project-default-filename
...
Set default file name for exported projects
2018-04-18 16:37:57 +02:00
Rémi Verschelde
db70538688
Merge pull request #18168 from Chaosus/fixcrash
...
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:19:10 +02:00
Peter Folkins
bff73bdbf1
Set default file name for exported projects
2018-04-18 08:58:13 -05:00
Chaosus
026617b5fb
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:45:39 +03:00
Juan Linietsky
1a3688d0cc
Merge pull request #16902 from groud/analog_action_system
...
Allow actions to provide an analog value
2018-04-18 07:21:29 -03:00
Gilles Roudiere
ebfa731012
Allow actions to provide an analog value
2018-04-16 23:20:43 +02:00
Paulb23
2fe05383df
Added multi group editor dialog, issue 13997
2018-04-15 19:42:48 +01:00
Rémi Verschelde
e7e9d9a0ea
Merge pull request #18156 from RandomShaper/fix-messed-pr
...
Revert "Unify http- and percent- encode/decode"
2018-04-13 22:20:35 +02:00
Juan Linietsky
1d15c5d726
Merge pull request #17502 from groud/2Deditor_rect
...
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-13 10:21:44 -03:00
Pedro J. Estébanez
00e98458ba
Revert "Unify http- and percent- encode/decode"
...
This reverts commit b76ee30917
.
2018-04-12 21:12:34 +02:00
Rémi Verschelde
24c2efc0f5
Merge pull request #16473 from ianb96/move_tab
...
Drag to Rearrange Editor Docks
2018-04-09 21:45:06 +02:00
Rémi Verschelde
9101a89510
Merge pull request #18054 from Mintormo/bugfix-inconsistent-sort-in-file-manager
...
Fixed bug #17929 . Inconsistent sort in file manager.
2018-04-09 17:56:43 +02:00
ianb96
9ac3c474b8
Drag to rearrange Tabs and TabContainer
2018-04-08 20:23:37 -04:00
Juan Linietsky
b67bfa3328
Merge pull request #16297 from lpn/master
...
Fixed wave file importer's broken resampling.
2018-04-08 18:41:46 -03:00
Juan Linietsky
3a08f1748b
Merge pull request #16571 from Zylann/find_in_files
...
Added find & replace in files
2018-04-08 17:24:26 -03:00
Chaosus
56a6d90f36
Fix #18058 regression
2018-04-08 20:01:38 +03:00
Juan Linietsky
2f4f8de459
Merge pull request #16995 from mrcdk/custom_resources_inspector
...
The inspector will show the custom resources added via plugin
2018-04-08 11:49:34 -03:00
Juan Linietsky
2ba01613a3
Merge pull request #17123 from Jason0214/BugFix_UpdataFavoriteListWhenMoveOrRenameDir
...
Editor: update favortite_dirs after move or rename a file in filesytem_dock
2018-04-08 11:36:55 -03:00
Juan Linietsky
4ee3f3251d
Merge pull request #17382 from bojidar-bg/13971-path-array-unsaved
...
Duplicate Arrays and Dictionaries when instancing scene in editor
2018-04-08 09:39:03 -03:00
Juan Linietsky
6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
...
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Juan Linietsky
47ffe107e6
Merge pull request #17967 from Nibodhika/all-device-mode
...
Allows to map an action to all devices.
2018-04-08 09:04:14 -03:00
Juan Linietsky
8a84f9df0d
Merge pull request #17741 from Essojadojef/fix-shortcut-categories
...
Fix all categories unfold when one key binding is changed
2018-04-08 09:02:44 -03:00
Mintormo
41a3929d25
Fixed bug #17929 . Inconsistent sort in file manager.
...
This commit fix a bug #17929
(https://github.com/godotengine/godot/issues/17929 )
in file manager. I'm just added sorting of files list
in method FileSystemDock::_update_files.
2018-04-08 13:18:01 +03:00
Nibodhika
1e28f63bcf
Allows to map an action to all devices.
...
This is accomplished by setting a special value (-1) to the device variable
in the InputEvent that's being used to compare with the one received from the OS.
This special value is invalid for a regular input, so it should be safe.
Implements #17942
2018-04-07 20:08:09 +00:00
Juan Linietsky
cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
...
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky
d59ff07c1e
Merge pull request #17717 from NikodemL/master
...
Extended node rename function to also support renaming node path script instance property
2018-04-07 16:46:49 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
...
Radio buttons in menus
2018-04-07 16:41:39 -03:00
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
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
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
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
e223702776
Merge pull request #17784 from Rubonnek/rename-shortcut
...
Added shortcut to rename files
2018-04-04 22:27:21 +02: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
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
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
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
Gilles Roudiere
a724f34ef3
Displays node icon on hover
2018-04-03 23:56:37 +02:00
Rémi Verschelde
bcf5b748b5
Merge pull request #17832 from YeldhamDev/popups_size_fix
...
Fixed some popups not shrinking their size back when losing items
2018-04-03 23:53:47 +02:00
Rémi Verschelde
82c26f74ad
Merge pull request #17865 from delftswa2018/enumLookupFix
...
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 22:43:07 +02:00
Gilles Roudiere
0251b08afa
Display nodes without rect's position
2018-04-03 22:04:19 +02:00
Gilles Roudiere
72ed1e4244
Remove the selection rect for nodes that do not require it
2018-04-03 22:04:19 +02:00
Felix Yang
7d5a40c3e6
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 21:56:54 +02:00
Gilles Roudiere
6435894275
Fixes issues with selectable children and locks
2018-04-03 21:31:15 +02:00
Dmitriy Romanov
0812468d05
Fix Collada material roughness import function 4
...
Made import conversion linear.
2018-04-03 22:05:13 +03:00
Rémi Verschelde
36ca622466
Merge pull request #17935 from Rubonnek/remove-unneeded-sort
...
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-03 12:46:48 +02:00
Wilson E. Alvarez
bb9c75c5ed
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-02 19:06:13 -04:00
Paulb23
f7c727e6c3
Abstracted the syntax highlighter from text edit
2018-04-02 12:41:44 +01:00
Poommetee Ketson
a492d22952
Mesh: fix crash when creating mesh outline from QuadMesh
...
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.
This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
2018-04-01 22:06:47 +07:00
Dmitriy Romanov
0e844f6c91
Fix Collada material roughness import function 3
...
Improved readability and further tweaking of function
2018-03-31 13:44:46 +03:00
Nikodem Lokatelj
66d2cd3918
perform_node_renames fix for a case where the new name is empty
2018-03-30 14:49:21 +02:00
Dmitriy Romanov
3b29e85257
Fix Collada material roughness import function 2
...
Fix minus space.
2018-03-29 12:47:24 +03:00
Michael Alexsander Silva Dias
7cbf301f31
Fixed some popups not shrinking their size back when losing items.
2018-03-28 17:04:37 -03:00
Dmitriy Romanov
89f4e71679
Fix Collada material roughness import function
...
Fixes NaN roughness in Godot when hardness in Blender is set to more than 255.
Also corrects dependency: more hardness = more roughness (it says shininess, but it actually is hardness).
2018-03-28 18:54:33 +03:00
Gilles Roudiere
4b4ed9b724
Merge pull request #17785 from Rubonnek/simplify-canvas-item-logic
...
Simplify CanvasItemEditor anchor drag logic
2018-03-28 11:56:29 +02:00
Nikodem Lokatelj
836565b249
FIX: FILE_SHOW_IN_EXPLORER now correctly shows the file's directory
2018-03-28 11:34:46 +02:00
Chaosus
9a6b4a3f11
Enable snapping in 2D when control key pressed
2018-03-28 10:07:21 +03:00
Pedro J. Estébanez
a6dc160d5c
Use radio-button-like menu entries where applicable
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
bf14a6deff
Support radio-button entries in ItemListPlugin
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
ab3b1d9f3e
Add radio-button-looking entries to PopupMenu
...
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.
`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.
Keeping check in the name adds an additional clue about these facts.
Closes #13055 .
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
b76ee30917
Unify http- and percent- encode/decode
...
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative).
This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
2018-03-27 19:18:30 +02:00
Wilson E. Alvarez
f0db7fca79
Added shortcut to rename files
2018-03-27 05:55:51 -04:00
Wilson E. Alvarez
bc9ef5461b
Simplify CanvasItemEditor anchor drag logic
2018-03-26 14:30:51 -04:00
Crazy-P
efd413916e
Fixes replace all not replacing the first word
2018-03-25 15:39:37 +08:00
robfram
7821b70a00
Fix bug added in PR#17589. Resources couldn't be saved to files
...
This PR fixes the code to avoid saving default environment every time
the project is run whitin the editor.
Should fix #17727 . Sorry for the troubles!
2018-03-24 19:16:47 +01:00
Alessandro
eda1e266c8
Fix all categories unfold when one key binding is changed
2018-03-24 17:02:18 +01:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
fd79de01c2
Merge pull request #17706 from Calinou/overhaul-hidpi-settings
...
Overhaul the display scaling editor settings
2018-03-23 14:12:20 +01:00
Hugo Locurcio
61bf0d10d5
Overhaul the display scaling editor settings
...
This adds more scaling options, in addition to a custom scaling option
which allows any scale between 0.75 and 3.0 to be used.
2018-03-23 14:04:39 +01:00
Nikodem Lokatelj
6eac0f6817
Extended node renames function to also rename script instance node path properties and fixed animation rename bug perform_node_renames function now also checks for any script instance with node paths so they also get renamed to point to new paths. This also fixes a bug with animation player renaming where two nodes had the same name.
2018-03-23 12:59:31 +01:00
Rémi Verschelde
32c726f7cd
Merge pull request #17344 from poke1024/multi-add-clear-script
...
Allow Attach and Clear Script on multiple nodes
2018-03-23 11:37:18 +01:00
Rémi Verschelde
1d07830182
Merge pull request #17490 from robfram/homogenize-check-prop-names
...
Fix non-valid characters for `input_action`
2018-03-23 11:29:26 +01:00
Rémi Verschelde
f16652d1a2
Merge pull request #17496 from robfram/fix-f3-change-editor-and-find
...
Fix pressing `F3` do both changing to script editor AND find next text
2018-03-23 11:28:48 +01:00
Rémi Verschelde
699325f9a1
Merge pull request #17505 from ArkDShiggy/invert_y-axis
...
add option to invert y-axis
2018-03-23 11:28:05 +01:00
Rémi Verschelde
74382dbfbb
Merge pull request #17576 from Mr-Slurpy/master
...
Allow users to add items to Tool menu
2018-03-23 11:08:03 +01:00
Ivan Vodopiviz
f5147befb6
Prevented external editor from running multiple times
...
Fixes #16923 . I'm not a fan of the special case for scripts in editor_node.cpp, but in any case,
I made it so it wouldn't make the external editor to re-open just because we switched scenes.
2018-03-21 22:23:15 +01:00
Rémi Verschelde
d486973f58
Merge pull request #17589 from robfram/fix-always-save-at-run
...
Fix saving unmodified scenes and resources
2018-03-20 11:17:19 +01:00
Julien CATINEAU
57e6b8781c
add option to invert y-axis
2018-03-20 08:03:38 +01:00
Rémi Verschelde
ebce36c22f
Merge pull request #17622 from RandomShaper/gltf-fixes
...
A couple of fixes for glTF importing
2018-03-19 10:18:43 +01:00
Pedro J. Estébanez
1f26da0ad1
Fix animation length from glTF not correctly set
2018-03-19 00:27:14 +01:00
Pedro J. Estébanez
adbe749513
Fix glTF not accepting VEC3 colors
...
Aside from the colors themselves, the rejection was adding somes issues later in the mesh import process.
2018-03-19 00:27:14 +01:00
robfram
28ab60422d
Fix saving unmodified scenes and resources
...
When `_save_all_scenes` or `save_resource_in_path` was called, they
always saved all the scenes and the resource no matter if they were
modified or not. For example, when `saving before run` option was
checked, it always overwrote the current scene and the default
environment simply by opening and runing the project.
This PR adds checks for unsaved scenes (using the same `unsave` check
others method used) and modified resources (comparing last modified
time and last import time).
Fix #6025 .
2018-03-18 11:58:40 +01:00
Mr-Slurpy
9da18f3974
Added tool menu functions in EditorPlugin
2018-03-17 14:41:50 -04:00
robfram
da6c07698f
Fix non-valid characters for input_action
...
Add a new function to check action names, `_validate_action_name`, in
the spirit of `_valprop`. Offending characters include non-printable
ascii, and `\/=:"`. Also set only one text for the UI message.
2018-03-17 15:32:44 +01:00
Gilles Roudiere
038de54b1f
Fixes scrollbars in Canvas Item Editor
2018-03-17 12:18:33 +01:00
robfram
8939f44f6a
Fix pressing F3
do both changing to script editor AND find next text
...
As `KEY_F3` was used both for changing to script editor window and, in
the script editor, for finding the next result in the last search, and
the key event is **not** consumed, the resulting behaviour was similar
to press `F3` twice, first to change to script editor and second to
find the next result of a previous search.
This PR sets the `key_pressed` status of `InputEvent` to `false` if
this event is responsible of an editor change, simulating the
consumption of the event.
Fix #17334
2018-03-16 20:17:42 +01:00
Rémi Verschelde
99c1323a08
Merge pull request #17388 from Hinsbart/mono_class_name
...
Mono: Avoid invalid class names.
2018-03-15 19:47:39 +01:00
Andreas Haas
700d07cf7c
Mono: Avoid invalid class names.
...
Disallow reserved keywords as class names and prefix base class with the Godot
namespace if it's the same as the class name.
Fixes #12483
2018-03-15 19:25:06 +01:00
Rémi Verschelde
db289e0e85
Merge pull request #17420 from marcelofg55/fscache_err_checks
...
Added error checks for fscache saving
2018-03-14 09:21:31 +01:00
Marcelo Fernandez
06e537fec5
Added error checks for fscache saving
2018-03-13 13:15:03 -03:00
Bojidar Marinov
9f6c0c6eae
Duplicate Arrays and Dictionaries when instancing scene in editor
...
Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate
Fixes #13971
2018-03-13 17:18:08 +02:00
Rémi Verschelde
c81356153e
Merge pull request #16971 from Noshyaar/tilemap
...
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde
65dc4abca3
Merge pull request #16978 from Noshyaar/tmsc
...
Add icon to TileMapEditor popupmenu
2018-03-13 13:57:10 +01:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde
96bda9c463
Merge pull request #17094 from Calinou/add-dynamicfont-hinting-options
...
Add an hinting mode setting to DynamicFonts
2018-03-13 13:38:35 +01:00
Rémi Verschelde
8b31b98036
Merge pull request #17104 from Faless/assetlib_more_threads
...
More threading in AssetLib
2018-03-13 13:35:28 +01:00
Rémi Verschelde
401a39f57e
Merge pull request #17116 from poke1024/fix16734
...
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13 13:33:51 +01:00