summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2018-04-08Merge pull request #17382 from bojidar-bg/13971-path-array-unsavedJuan Linietsky
Duplicate Arrays and Dictionaries when instancing scene in editor
2018-04-08Merge pull request #17443 from Noshyaar/tilesetcrashJuan Linietsky
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08Merge pull request #17967 from Nibodhika/all-device-modeJuan Linietsky
Allows to map an action to all devices.
2018-04-08Merge pull request #17741 from Essojadojef/fix-shortcut-categoriesJuan Linietsky
Fix all categories unfold when one key binding is changed
2018-04-07Allows to map an action to all devices.Nibodhika
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-07Merge pull request #17583 from RandomShaper/enhance-uri-utilsJuan Linietsky
Enhance uri utils
2018-04-07Merge pull request #17717 from NikodemL/masterJuan Linietsky
Extended node rename function to also support renaming node path script instance property
2018-04-07Merge pull request #17730 from RandomShaper/radio-buttons-in-menusJuan Linietsky
Radio buttons in menus
2018-04-07Merge pull request #17754 from Crazy-P/Resloves_Replace_all_doesnt_replace_allJuan Linietsky
Resloves Replace all doesnt replace all
2018-04-07Merge pull request #17809 from RandomShaper/menu-item-on-releaseJuan Linietsky
Improve popup menus usability
2018-04-07Merge pull request #17840 from Dimonasdf/masterJuan Linietsky
Fix Collada material roughness import function
2018-04-07Improve popup menus usabilityPedro J. Estébanez
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-06Fix skeleton import from glTFPedro J. Estébanez
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-06Merge pull request #17970 from PJB3005/18-04-04-commandline-export-error-clarityRémi Verschelde
Explicitly print an error when --export fails.
2018-04-04Merge pull request #17784 from Rubonnek/rename-shortcutRémi Verschelde
Added shortcut to rename files
2018-04-04Explicitly print an error when --export fails.Pieter-Jan Briers
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-04Update transform buttons in tile editor while using T, A, S shortcuts (fixes ↵Alexander Alekseev
#17962)
2018-04-04Merge pull request #17816 from NikodemL/fix_file_show_in_explorerRémi Verschelde
FIX: FILE_SHOW_IN_EXPLORER now correctly shows the file's directory
2018-04-04Merge pull request #17863 from covariantlabs/add-move-selected-tilesRémi Verschelde
Add functionality to move selected tiles in tile map editor
2018-04-04Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighterRémi Verschelde
Abstracted the syntax highlighter from text edit.
2018-04-04Add functionality to move selected tiles in tile map editorMartin Rieke
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-03Merge pull request #17832 from YeldhamDev/popups_size_fixRémi Verschelde
Fixed some popups not shrinking their size back when losing items
2018-04-03Merge pull request #17865 from delftswa2018/enumLookupFixRémi Verschelde
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03Ctrl+Clicking a enum now scrolls down to it in the docs.Felix Yang
2018-04-03Fix Collada material roughness import function 4Dmitriy Romanov
Made import conversion linear.
2018-04-03Merge pull request #17935 from Rubonnek/remove-unneeded-sortRémi Verschelde
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-02Removed unneeded sort from SpriteFramesEditor pluginWilson E. Alvarez
2018-04-02Abstracted the syntax highlighter from text editPaulb23
2018-04-01Mesh: fix crash when creating mesh outline from QuadMeshPoommetee Ketson
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-03-31Fix Collada material roughness import function 3Dmitriy Romanov
Improved readability and further tweaking of function
2018-03-30perform_node_renames fix for a case where the new name is emptyNikodem Lokatelj
2018-03-29Fix Collada material roughness import function 2Dmitriy Romanov
Fix minus space.
2018-03-28Fixed some popups not shrinking their size back when losing items.Michael Alexsander Silva Dias
2018-03-28Fix Collada material roughness import functionDmitriy Romanov
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-28Merge pull request #17785 from Rubonnek/simplify-canvas-item-logicGilles Roudiere
Simplify CanvasItemEditor anchor drag logic
2018-03-28FIX: FILE_SHOW_IN_EXPLORER now correctly shows the file's directoryNikodem Lokatelj
2018-03-28Enable snapping in 2D when control key pressedChaosus
2018-03-27Use radio-button-like menu entries where applicablePedro J. Estébanez
2018-03-27Support radio-button entries in ItemListPluginPedro J. Estébanez
2018-03-27Add radio-button-looking entries to PopupMenuPedro J. Estébanez
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-27Unify http- and percent- encode/decodePedro J. Estébanez
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-27Added shortcut to rename filesWilson E. Alvarez
2018-03-26Simplify CanvasItemEditor anchor drag logicWilson E. Alvarez
2018-03-25Fixes replace all not replacing the first wordCrazy-P
2018-03-24Fix bug added in PR#17589. Resources couldn't be saved to filesrobfram
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-24Fix all categories unfold when one key binding is changedAlessandro
2018-03-23Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23Merge pull request #17706 from Calinou/overhaul-hidpi-settingsRémi Verschelde
Overhaul the display scaling editor settings
2018-03-23Overhaul the display scaling editor settingsHugo Locurcio
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-23Extended node renames function to also rename script instance node path ↵Nikodem Lokatelj
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.