aboutsummaryrefslogtreecommitdiff
path: root/editor
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | | Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighterRémi Verschelde2018-04-044-3/+64
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | Abstracted the syntax highlighter from text edit.
| * | | | | | | | | | | | | | | | | Abstracted the syntax highlighter from text editPaulb232018-04-024-3/+64
| |/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | Merge pull request #17832 from YeldhamDev/popups_size_fixRémi Verschelde2018-04-032-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some popups not shrinking their size back when losing items
| * | | | | | | | | | | | | | | | | Fixed some popups not shrinking their size back when losing items.Michael Alexsander Silva Dias2018-03-282-0/+3
| |/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | Merge pull request #17865 from delftswa2018/enumLookupFixRémi Verschelde2018-04-033-4/+44
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | Ctrl+Clicking a enum now scrolls down to it in the docs.
| * | | | | | | | | | | | | | | | Ctrl+Clicking a enum now scrolls down to it in the docs.Felix Yang2018-04-033-4/+44
| |/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | Merge pull request #17935 from Rubonnek/remove-unneeded-sortRémi Verschelde2018-04-031-2/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unneeded sort from SpriteFramesEditor plugin
| * | | | | | | | | | | | | | | | Removed unneeded sort from SpriteFramesEditor pluginWilson E. Alvarez2018-04-021-2/+0
| |/ / / / / / / / / / / / / / /
* / / / / / / / / / / / / / / / Mesh: fix crash when creating mesh outline from QuadMeshPoommetee Ketson2018-04-011-0/+4
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | Merge pull request #17785 from Rubonnek/simplify-canvas-item-logicGilles Roudiere2018-03-281-12/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify CanvasItemEditor anchor drag logic
| * | | | | | | | | | | | | | | Simplify CanvasItemEditor anchor drag logicWilson E. Alvarez2018-03-261-12/+12
| |/ / / / / / / / / / / / / /
* / / / / / / / / / / / / / / Enable snapping in 2D when control key pressedChaosus2018-03-281-9/+11
|/ / / / / / / / / / / / / /
* | / / / / / / / / / / / / Fix bug added in PR#17589. Resources couldn't be saved to filesrobfram2018-03-241-4/+2
| |/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | | | | | | | | | | | Merge pull request #17706 from Calinou/overhaul-hidpi-settingsRémi Verschelde2018-03-233-26/+78
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overhaul the display scaling editor settings
| * | | | | | | | | | | | | Overhaul the display scaling editor settingsHugo Locurcio2018-03-233-26/+78
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | Merge pull request #17344 from poke1024/multi-add-clear-scriptRémi Verschelde2018-03-231-15/+51
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow Attach and Clear Script on multiple nodes
| * | | | | | | | | | | | | Allow Add and Clear Script on multiple nodespoke10242018-03-091-15/+51
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #17490 from robfram/homogenize-check-prop-namesRémi Verschelde2018-03-231-4/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix non-valid characters for `input_action`
| * | | | | | | | | | | | | | Fix non-valid characters for `input_action`robfram2018-03-171-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | Merge pull request #17496 from robfram/fix-f3-change-editor-and-findRémi Verschelde2018-03-231-0/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix pressing `F3` do both changing to script editor AND find next text
| * | | | | | | | | | | | | | | Fix pressing `F3` do both changing to script editor AND find next textrobfram2018-03-161-0/+6
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | Merge pull request #17505 from ArkDShiggy/invert_y-axisRémi Verschelde2018-03-232-2/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add option to invert y-axis
| * | | | | | | | | | | | | | | add option to invert y-axisJulien CATINEAU2018-03-202-2/+13
| | |_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #17576 from Mr-Slurpy/masterRémi Verschelde2018-03-233-29/+73
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | Allow users to add items to Tool menu
| * | | | | | | | | | | | | | Added tool menu functions in EditorPluginMr-Slurpy2018-03-173-29/+73
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Prevented external editor from running multiple timesIvan Vodopiviz2018-03-211-1/+2
| |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | Merge pull request #17589 from robfram/fix-always-save-at-runRémi Verschelde2018-03-201-1/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix saving unmodified scenes and resources
| * | | | | | | | | | | | | | Fix saving unmodified scenes and resourcesrobfram2018-03-181-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | Merge pull request #17622 from RandomShaper/gltf-fixesRémi Verschelde2018-03-191-7/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of fixes for glTF importing
| * | | | | | | | | | | | | | | Fix animation length from glTF not correctly setPedro J. Estébanez2018-03-191-4/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Fix glTF not accepting VEC3 colorsPedro J. Estébanez2018-03-191-3/+11
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aside from the colors themselves, the rejection was adding somes issues later in the mesh import process.
* / / / / / / / / / / / / / / Fixes scrollbars in Canvas Item EditorGilles Roudiere2018-03-172-67/+80
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | Merge pull request #17388 from Hinsbart/mono_class_nameRémi Verschelde2018-03-151-0/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mono: Avoid invalid class names.
| * | | | | | | | | | | | | | Mono: Avoid invalid class names.Andreas Haas2018-03-151-0/+7
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | Merge pull request #17420 from marcelofg55/fscache_err_checksRémi Verschelde2018-03-142-11/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | Added error checks for fscache saving
| * | | | | | | | | | | | | Added error checks for fscache savingMarcelo Fernandez2018-03-132-11/+16
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #16971 from Noshyaar/tilemapRémi Verschelde2018-03-132-0/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TileMap: add fix_invalid_tiles
| * | | | | | | | | | | | | | TileMap: add fix_invalid_tilesPoommetee Ketson2018-02-242-0/+12
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #16978 from Noshyaar/tmscRémi Verschelde2018-03-131-2/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add icon to TileMapEditor popupmenu
| * | | | | | | | | | | | | | | Add icon to TileMapEditor popupmenuPoommetee Ketson2018-02-241-2/+9
| |/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Merge pull request #17013 from Noshyaar/themeRémi Verschelde2018-03-1316-41/+117
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update icons when theme changed
| * | | | | | | | | | | | | | | Update icons when theme changedPoommetee Ketson2018-02-2516-41/+117
| | |_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #17094 from Calinou/add-dynamicfont-hinting-optionsRémi Verschelde2018-03-132-1/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an hinting mode setting to DynamicFonts
| * | | | | | | | | | | | | | | Add an hinting mode setting to DynamicFontsHugo Locurcio2018-02-282-1/+16
| | |_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Editor font hinting can now be tweaked in the Editor Settings. - DynamicFonts used in projects now have tweakable hinting settings in their DynamicFontData child. Changes will be visible upon reloading the scene in the editor.
* | | | | | | | | | | | | | | Merge pull request #17104 from Faless/assetlib_more_threadsRémi Verschelde2018-03-131-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More threading in AssetLib
| * | | | | | | | | | | | | | | More threading in AssetLibFabio Alessandrelli2018-02-281-0/+2
| | |_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AssetLib now uses thread as requested to download previews and items
* | | | | | | | | | | | | | | Merge pull request #17116 from poke1024/fix16734Rémi Verschelde2018-03-133-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix round preview getting square on "run scene" (issue 16734)
| * | | | | | | | | | | | | | | Fix round preview getting square on "run scene" (issue 16734)poke10242018-02-283-1/+4
| |/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Merge pull request #17138 from simedis/import_md5Rémi Verschelde2018-03-131-12/+51
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make md5's not be in the same file as the import settings
| * | | | | | | | | | | | | | | Moves the md5sum's from the <filename>.import file into .import/<filename>.md5Geoffrey2018-03-011-12/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Saves asset md5sum's in a file that doesn't contain data that needs to be VC'd Now saves the md5s to a different file (.import.md5) Now reads the md5's from a separate file Now uses a file in the .import folder to store md5s