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
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
Michael Alexsander Silva Dias
7cbf301f31
Fixed some popups not shrinking their size back when losing items.
2018-03-28 17:04:37 -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
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
bc9ef5461b
Simplify CanvasItemEditor anchor drag logic
2018-03-26 14:30:51 -04: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
699325f9a1
Merge pull request #17505 from ArkDShiggy/invert_y-axis
...
add option to invert y-axis
2018-03-23 11:28:05 +01:00
Julien CATINEAU
57e6b8781c
add option to invert y-axis
2018-03-20 08:03:38 +01:00
Gilles Roudiere
038de54b1f
Fixes scrollbars in Canvas Item Editor
2018-03-17 12:18:33 +01: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
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
Rémi Verschelde
a3915d8597
Merge pull request #17154 from Hinsbart/fix_text_editor_settings
...
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-13 12:54:43 +01:00
Rémi Verschelde
8b629bbcbe
Merge pull request #17166 from Noshyaar/tilemap2
...
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-13 12:53:51 +01:00
Rémi Verschelde
fcd81c9627
Merge pull request #17172 from StateOff/add_show_axis_options
...
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-13 12:53:11 +01:00
Rémi Verschelde
4835488716
Merge pull request #17184 from Noshyaar/tilemap3x
...
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-13 12:51:01 +01:00
Rémi Verschelde
b49746f3cd
Merge pull request #17381 from poke1024/fix-anim-scrub
...
AnimationPlayer: fix scrubbing after play backwards
2018-03-13 11:51:30 +01:00
Poommetee Ketson
caa0d513ab
ScriptTextEditor: fix capitalize offset
2018-03-12 01:37:41 +07:00
Bernhard Liebl
b553b38e7b
AnimationPlayer: fix scrubbing after play backwards
2018-03-09 19:41:14 +01:00
Ranoller
2aae6fc2ec
FIX to broken item select list (zoom and RMB)
...
FIX to #17346 . Compiled and tested.
2018-03-07 21:39:55 +01:00
Bernhard Liebl
ced694e9cd
In CanvasItemEditor, prioritize selected items
2018-03-05 19:09:59 +01:00
Blazej Floch
934498d37a
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-02 21:27:32 -05:00
Poommetee Ketson
54ecfc96ea
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-02 23:15:32 +07:00
Poommetee Ketson
86938a06aa
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-02 17:14:55 +07:00
Andreas Haas
1cfc43421e
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-01 21:45:24 +01:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
poke1024
899f7b125e
Fix round preview getting square on "run scene" (issue 16734)
2018-02-28 20:23:40 +01:00
Fabio Alessandrelli
3a25415a1c
More threading in AssetLib
...
AssetLib now uses thread as requested to download previews and items
2018-02-28 15:08:17 +01:00
Poommetee Ketson
762f241e10
TileSetEditorPlgn: Fix a leak
2018-02-27 09:58:27 +07:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Juan Linietsky
125fc8cc44
Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future
2018-02-25 12:07:13 -03:00
Poommetee Ketson
0f36c7aae5
Add icon to TileMapEditor popupmenu
2018-02-24 20:39:19 +07:00
Poommetee Ketson
7effe46461
TileMap: add fix_invalid_tiles
2018-02-24 19:34:41 +07:00
Rémi Verschelde
23ebae01dc
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
2018-02-23 20:15:29 +01:00
Juan Linietsky
92ece2e727
Ability to edit Polygon2D shape from within the UV editor, this will eventually make it possible to in the future.
2018-02-22 17:40:54 -03:00
Rémi Verschelde
742d01b888
Merge pull request #16888 from GodotExplorer/debugger-improvement-2
...
Fix builtin script cannot open from debug stacks
2018-02-22 08:51:24 +01:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Chaosus
24c170555d
Enable snapping when control key pressed
2018-02-21 17:36:25 +03:00
geequlim
095e2bcc26
Fix builtin script cannot open from debug stacks
2018-02-21 21:10:32 +08:00
Juan Linietsky
b2412c72a0
Was missing clearing computed UVs, sorry, realized late.
2018-02-21 09:40:01 -03:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Rémi Verschelde
c291fc39ad
Merge pull request #16772 from damarindra/tileset_editor_improvement
...
Tileset Editor Improvement
2018-02-21 10:40:43 +01:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
...
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
2018-02-20 14:39:52 +09:00
Marc Gilleron
f637ad84e3
Added find & replace in files
2018-02-19 22:38:58 +01:00
Rémi Verschelde
e7fb143515
Merge pull request #14433 from PJB3005/17-12-08-3d_grid_color_setting_update
...
Makes 3D editor grid color update without restart.
2018-02-19 22:02:02 +01:00
Rémi Verschelde
5efbb08a7a
Merge pull request #16697 from ianb96/script_list_no_sort
...
Add Option to disable sort in script list
2018-02-19 20:37:15 +01:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
...
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Rémi Verschelde
959b3e6d8c
Merge pull request #16752 from Yanpas/dellines
...
Delete all selected lines using the "delete line" shortcut in script editor
2018-02-19 19:54:24 +01:00
Poommetee Ketson
d5eba83fd5
Merge pull request #16774 from sudoio/fix-16773
...
Fix #16773 (Rename "Install" to "Download" in AssetLib)
2018-02-18 11:25:44 +07:00
Yan Pas
7368978a48
Delete all selected lines using the delete line shortcut in script editor
2018-02-17 17:56:13 +03:00
Artem Varaksa
d35e486228
Clean up some bad words from code comments
2018-02-17 16:00:39 +03:00
Artem Varaksa
69675463b0
Fix #16773 (Rename "Install" to "Download" in AssetLib)
2018-02-17 15:35:40 +03:00
Rémi Verschelde
2caf4aed61
Merge pull request #16748 from Chaosus/fixscriptpreview
...
Fix script previews
2018-02-16 16:26:55 +01:00
Chaosus
a8fbd082fe
Fix script previews
2018-02-16 18:18:12 +03:00
damarindra
cceb176be3
fix crash autotile edit mode
2018-02-16 17:48:01 +07:00
Gilles Roudiere
8dad41e395
2D editor GUI input rework. Changes are:
...
- The input handling is done into several distinct functions, and the
code is more consistent.
- The actions' history is more precise ("Edited CanvasItem"
is now "Rotated CanvasItem","Moved CanvasItem",etc...)
- Fixed a little bug about input key events not forwarded correctly to plugins
- IK is followed by default when you move a bone node, the alt-key allow
you to move it normally
2018-02-16 10:14:52 +01:00
ianb96
e1778fb921
option to disable sort in script list
2018-02-14 11:38:02 -05:00
Rémi Verschelde
79f48cde3d
Merge pull request #15193 from poke1024/script-preview
...
Rounded previews (and nicer script previews)
2018-02-14 17:11:38 +01:00
Rémi Verschelde
a8b74ea4da
Merge pull request #15713 from StraToN/fix-15556-resourcepreloader-open-res
...
Display path to preloaded res + button to open it
2018-02-14 16:27:37 +01:00
Michael Alexsander Silva Dias
4dbf6ac1b8
Added "allow_reselect" property to ItemList and enabled it for the method/help lists.
2018-02-14 03:38:07 -02:00
Rémi Verschelde
ba106ae51c
Merge pull request #16667 from vnen/remove-container-control
...
Add a function to remove controls from containers
2018-02-13 23:10:38 +01:00
George Marques
da69a06253
Add a function to remove controls from containers
...
Closes #5968
2018-02-13 19:35:10 -02:00
Rémi Verschelde
e8763ef130
Merge pull request #16518 from Paulb23/fix_members_overview_offset
...
Fixed members overview not scrolling to correct line
2018-02-13 22:12:48 +01:00
Rémi Verschelde
a8edad2128
Merge pull request #16463 from Noshyaar/pr1
...
3DEditor: fix selecting node in viewport not update inspector
2018-02-13 17:06:49 +01:00
Rémi Verschelde
8cfe798877
Merge pull request #16433 from Calinou/remove-assetlib-debugging-prints
...
Remove debugging prints related to the asset library
2018-02-13 15:47:47 +01:00
Rémi Verschelde
fd871b4d4f
Merge pull request #16383 from binbitten/issue_16335
...
Fix spaces and quotes in external editor flags
2018-02-13 15:21:37 +01:00
Rémi Verschelde
dff0c41fe8
Merge pull request #16374 from ianb96/drop_at_mouse
...
Drop path text at mouse pos
2018-02-13 11:25:55 +01:00
Poommetee Ketson
45ab9cdfb5
Merge pull request #16499 from sudoio/master
...
Deselect text when jumping to function
2018-02-12 23:09:19 +07:00
Rémi Verschelde
f961ba004b
Merge pull request #16332 from YeldhamDev/capitalize_view_menu
...
Capitalized "View" menu options
2018-02-12 09:00:36 +01:00
Rémi Verschelde
c3cfc951c7
Merge pull request #15499 from YeldhamDev/recent_scripts_fix
...
Changes for the "Recent Scripts" menu
2018-02-12 08:01:08 +01:00
Paulb23
4d92c5e1c3
Fixed members overview not scrolling to correct line
2018-02-09 17:35:28 +00:00
Artem Varaksa
3094e89782
Fix #16479 (deselect text when jumping to function)
2018-02-08 21:12:08 +03:00
Poommetee Ketson
cfac160f9f
3DEditor: fix selecting node in viewport not update inspector
2018-02-07 13:27:39 +07:00
Hugo Locurcio
5513e4e1f9
Remove debugging prints related to the asset library
2018-02-05 22:39:35 +01:00
binbitten
fb8d2420b5
Fix spaces and quotes in external editor flags
2018-02-04 11:18:54 +01:00
ianb96
06965f2770
drop path text at mouse pos
2018-02-03 22:35:44 -05:00
Chaosus
3ba43ac975
Fix gradient texture preview
2018-02-03 12:10:44 +03:00
Michael Alexsander Silva Dias
b507eeddcc
Capitalized "View" menu options.
2018-02-02 17:27:57 -02:00
Michael Alexsander Silva Dias
140340978b
Changes for the "Recent Scripts" menu.
2018-02-02 15:34:36 -02:00
Poommetee Ketson
25dd1f0681
3DEditor: fix multiple node selection crash the editor
...
I'm not sure about this fix. This seems to also fixes the weird
selection bug where when selecting node 1 to 3 it focuses on
2nd node.
2018-01-27 17:28:01 +07:00
Razah
72901936cc
Fix shortcut conflict
...
fix https://github.com/godotengine/godot/issues/16054
The clone_down shortcut that conflicts with the "editor / play" shortcut has been replaced by "SHIFT + COMMAND + C" instead of "COMMAND + B" on macOS
2018-01-25 19:24:51 +03:00