Marc Gilleron
4c415001b2
Fix Find in Files:
...
- FileAccess was accessed null (remains of GDScript port)
- `_current_file` wasn't going up correctly in case a scanned directory had no subdirectories
- Paths stored in `_files_to_scan` were not full paths
2018-05-01 22:07:16 +02:00
Rémi Verschelde
1113a738ba
Merge pull request #18508 from AlexHolly/hide-tab-changed-debug-print
...
hide tab changed debug print
2018-05-01 19:19:12 +02:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Rémi Verschelde
c9abe88110
Merge pull request #16502 from Paulb23/multi_group_editor
...
Added multi group editor dialog, issue 13997
2018-05-01 18:18:05 +02:00
Pieter-Jan Briers
20dd2204db
Adds z-index properties to TileSets.
2018-05-01 17:24:57 +02:00
George Marques
decf178033
Enable autoload in editor
...
- Tool scripts will be executed and can be accessed by plugins.
- Other script languages can implement add/remove_named_global_constant
to make use of this functionality.
2018-05-01 11:44:08 -03:00
Rémi Verschelde
007d1754e3
Revert "Added a more specific error message on export"
...
This reverts commit 00c689d625
.
Reason: "Missing template" is just one possible explanation for
`err` being != OK here, it does not make sense to hardcode it in
the generic error message (and break translations doing so).
2018-05-01 13:07:11 +02:00
Rémi Verschelde
8dd2b2e6f5
Merge pull request #18434 from YeldhamDev/animation_autoplay_fix
...
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name
2018-05-01 11:47:37 +02:00
Rémi Verschelde
e1ef2f538f
Merge pull request #18380 from groud/fix_spacebar_panning
...
Fixes 2d editor panning not working
2018-05-01 08:56:13 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
...
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Superwaitsum
7d689dff71
Changed Sprite Frame move buttons for icons
2018-04-30 16:05:21 -05:00
Pedro J. Estébanez
de9d40a953
Implement universal translation of touch to mouse
...
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)
The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.
Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.
*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.
On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.
Plus: Improve/fix tracking of current mouse position.
** Summary of changes to settings: **
- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30 19:03:38 +02:00
Max Hilbrunner
196fc8599a
Merge pull request #18373 from KidRigger/working
...
Replaces CTRL with CMD in TileMapEditor for MacOS.
2018-04-30 19:00:41 +02:00
Max Hilbrunner
f274c8b74b
Merge pull request #18381 from groud/fix_hard_to_select_node2d
...
Fixes hard to select Node2D
2018-04-30 18:58:27 +02:00
Alexander Holland
31f28885f9
hide tab changed debug print
2018-04-30 18:41:11 +02:00
Max Hilbrunner
f1bbb59653
Merge pull request #18489 from Calinou/tweak-property-hint-ranges
...
Tweak the property hint ranges of caret blink and line length guideline
2018-04-30 18:19:09 +02:00
Max Hilbrunner
c408eb7520
Merge pull request #18506 from AlexHolly/export-more-specific-error-message
...
Added a more specific error message on export
2018-04-30 18:14:35 +02:00
Max Hilbrunner
a07f81fc2f
Merge pull request #18515 from djrm/pr_icons
...
Updated icons, add CSG icons
2018-04-30 18:10:31 +02:00
Hugo Locurcio
098f9b51b5
Improve the 3D editor grid
...
- The grid's primary and secondary colors can now be changed
- The number of grid steps (subdivisions) can now be changed
- The grid size can now be changed
- The grid is now darker by default
2018-04-30 14:24:54 +02:00
Eoin O'Neill
37e166f4c7
Added disconnect_all and edit functionality to ConnectionsDock.
...
Refactor: Changed function order so header and source are in sync, renamed functions and members to be more clear.
Replaced pointers with references where appropriate.
2018-04-29 23:51:36 -07:00
Juan Linietsky
6244b9e2e1
Add option to renormalize mipmaps when generating them for normalmaps.
...
Reduces some aliasing.
2018-04-29 21:52:21 -03:00
Eoin O'Neill
6cef0eaa09
Added connection editing. Some refactoring.
2018-04-29 17:16:05 -07:00
Eoin O'Neill
62a858d4c9
Basic context menu added to connections docker w/ code cleanup.
2018-04-29 17:16:05 -07:00
Daniel J. Ramirez
f11649987d
Updated icons,
...
Added CSG icons and other action icons
[ci-skip]
2018-04-29 14:14:46 -05:00
Hein-Pieter van Braam
3bd3f41465
Merge pull request #18455 from neikeq/export-pck-zip-debug
...
Make 'Export PCK/ZIP' work well with EditorExportPlugin
2018-04-29 18:29:32 +02:00
Alexander Holland
00c689d625
Added a more specific error message on export
2018-04-29 15:26:33 +02:00
Hein-Pieter van Braam
91dfccd1ee
Merge pull request #18425 from RandomShaper/fix-theme-editor-samples
...
Fix theme editor sample widgets
2018-04-28 22:19:13 +02:00
Hugo Locurcio
0eb2f6c223
Tweak the property hint ranges of caret blink and line length guideline
...
This allows for more precise adjustments.
2018-04-28 19:13:30 +02:00
Juan Linietsky
93c77580aa
Fix how snapping is applied to 3D polygon editing, make it more friendly.
2018-04-28 11:22:22 -03:00
Eoin O'Neill
af1e2c7b21
Basic 'new script' feature added to File System browser
2018-04-27 22:55:48 -07:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Michael Alexsander Silva Dias
75897710b3
Made the Pin button disable when no AnimationPlayer is selected.
2018-04-27 16:06:05 -03:00
Michael Alexsander Silva Dias
e93a56ef3e
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name.
2018-04-27 16:06:05 -03:00
Pedro J. Estébanez
a0626d7d9c
Fix theme editor sample widgets
2018-04-27 20:42:57 +02:00
Marcelo Fernandez
9b4d23e898
Fix use64 used without being initialized
2018-04-27 10:43:48 -03:00
Michael Alexsander Silva Dias
6971604033
Numerous changes to the Animation Editor.
2018-04-26 22:58:30 -03:00
Ignacio Etcheverry
68b35de2b6
Make 'Export PCK/ZIP' work well with EditorExportPlugin
...
Add debug flag to the 'Export PCK/ZIP' option
Make 'Export PCK/ZIP' notify when the export process begins. This is necessary to receive the 'EditorExportPlugin::_export_begin' callback
2018-04-26 23:21:05 +02:00
Gilles Roudiere
8dcd39c3c4
Adds shortcuts for zooming in the 2D editor
2018-04-26 10:28:56 +02:00
Peter Folkins
223f085857
Fix AnimationPlayer edited scene bug
2018-04-23 14:06:40 -05:00
groud
e8a4c4fa4c
Fixes hard to select Node2D
2018-04-23 19:48:15 +02:00
groud
9c5a44aeee
Fixes 2d editor panning not working
2018-04-23 19:34:03 +02:00
Anish
cca7633739
Replaces CTRL with CMD in TileMapEditor for MacOS.
...
Replacing CTRL with CMD makes sense dure to consistency
with MacOS and avoiding conflict with the accessibility
hotkey (ctrl+lmb = rmb)
Fixes : #18238
2018-04-23 19:39:01 +05:30
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Crazy-P
e6deba8d19
Fixes logically dead code (Coverity)
...
Fixes reported logically dead codes by Coverity
* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.
* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function
* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.
* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)
* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle
* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'
* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp
* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.
* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.
* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
Paulb23
adeed58477
Added GDScript NodePath highlighting
2018-04-20 21:00:07 +01:00
Paulb23
4cd16f6ba9
Added GDScript function definition highlighting
2018-04-20 20:54:31 +01:00
Eric McCarthy
02b7b916b7
Fix clone down newline bug
...
Previously cloning down at the end of a script was broken if there was
not an additional empty line.
This fix ensures there is an empty line before attempting to clone
downwards.
Fixes #18206 , cheers!
2018-04-19 20:35:42 -04:00
toger5
29216b2bad
added bold font to editor (support for coustom bold font)
2018-04-19 22:00:58 +02:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
Gilles Roudiere
7e89dc432c
Fixes left/up axis not mappable as actions
2018-04-18 21:38:52 +02:00
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
Markus Törnqvist
1c6ea572ca
Implement font shadows for RichTextLabel
2018-04-12 15:09:48 +03: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
Rémi Verschelde
bd82fc19e9
Merge pull request #17138 from simedis/import_md5
...
Make md5's not be in the same file as the import settings
2018-03-13 13:06:18 +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
de1e2b4497
Merge pull request #17176 from Noshyaar/audiobus
...
EditorAudioBus: expand effects list
2018-03-13 12:51:54 +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
18d543d7ab
Merge pull request #17311 from marcelofg55/export_err_checks
...
Improved error checking at EditorExportPlatformPC::export_project
2018-03-13 12:17:53 +01:00
Rémi Verschelde
6d59bc67a0
Merge pull request #17379 from poke1024/fix-anim-popups
...
AnimationPlayer: fix popups close on double click
2018-03-13 11:55:17 +01:00
Rémi Verschelde
319167a67a
Merge pull request #17380 from robfram/fix-change-node-type
...
Fix overwriting all common properties when using `Change Type` tool
2018-03-13 11:54:10 +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
Rémi Verschelde
4287c7822b
Merge pull request #17440 from viktor-ferenczi/issue-5042
...
Properly closing all files in Python build code
2018-03-13 11:49:58 +01:00
Rémi Verschelde
a64f30536e
Merge pull request #17390 from poke1024/fix-anim-text-overlap
...
Fixes overlapping text labels in animation editor timeline
2018-03-13 11:40:31 +01:00
Rémi Verschelde
9cadef3ffb
Merge pull request #17404 from poke1024/fix-anim-player-pan
...
Fix wrong pan direction in animation player ui
2018-03-13 11:34:25 +01:00
Rémi Verschelde
f92acfe119
Merge pull request #17406 from poke1024/fix-anim-key-ui
...
Fix broken hover/select coloring of keys in animation editor
2018-03-13 11:31:17 +01:00
Rémi Verschelde
40aa97d2c8
Merge pull request #17413 from ShyRed/previewfix
...
Update preview on filesystem change
2018-03-13 11:27:43 +01:00
Rémi Verschelde
ed1fb87429
Merge pull request #17435 from poke1024/output-error-icon
...
Show error icon at "Output" in case of errors
2018-03-13 11:22:28 +01:00
Rémi Verschelde
71cc0df311
Merge pull request #17441 from poke1024/fix-autoload-column-width
...
Fix column width on AutoLoad table on hidpi displays
2018-03-13 11:18:37 +01:00
Rémi Verschelde
08415d0f53
Merge pull request #17319 from eska014/polyclipper-toolsonly
...
Build polygon clipper only in tools builds
2018-03-13 11:01:28 +01:00
Rémi Verschelde
965feb9521
Merge pull request #17455 from Noshyaar/capitalize
...
ScriptTextEditor: fix capitalize offset
2018-03-13 09:55:15 +01:00
Rémi Verschelde
15626fa2d0
Merge pull request #17442 from Noshyaar/esr
...
EditorNode: fix clicking ok keeps trying to save
2018-03-13 09:36:55 +01:00
robfram
ea94a82596
Fix non working action names containing whitespaces
...
Now the action name is quoted if it contains spaces. Also, quotation
mark (") is added to the forbidden character list for action names, as
it was also a bug.
Fix #17322
2018-03-12 21:28:41 +01:00
Poommetee Ketson
caa0d513ab
ScriptTextEditor: fix capitalize offset
2018-03-12 01:37:41 +07:00
Poommetee Ketson
e12e6cacdb
EditorNode: fix clicking ok keeps trying to save
2018-03-11 21:33:21 +07:00
Bernhard Liebl
f494d5ac5c
Fix column width on AutoLoad table on hidpi displays
2018-03-11 15:28:23 +01:00
Viktor Ferenczi
272ecddb28
Properly closing all files in Python code
2018-03-11 14:55:50 +01:00
Bernhard Liebl
5120690013
Show error icon at "Output" in case of errors
2018-03-11 14:20:32 +01:00
ShyRed
188ccf190b
Update preview on filesystem change
...
Check and recreate a file's preview, if it has changes to it in the filesystem.
2018-03-10 14:21:17 +01:00
Bernhard Liebl
172aa6c61e
Fix broken hover/select coloring of keys in animation editor
2018-03-10 12:57:27 +01:00
Bernhard Liebl
efc9633b33
Fix wrong pan direction in animation player ui
2018-03-10 11:38:33 +01:00
Bernhard Liebl
c223fac83b
Fix overlapping timeline text in AnimationEditor
2018-03-09 23:53:53 +01:00
Bernhard Liebl
b553b38e7b
AnimationPlayer: fix scrubbing after play backwards
2018-03-09 19:41:14 +01:00
Bernhard Liebl
6d51b6ab42
AnimationPlayer: fix popups close on double click
2018-03-09 19:06:44 +01:00
robfram
8ea4ea0d53
Fix overwriting all common properties when using `Change Type` tool
...
If you change the type of an existing node, it checks if you have
modified the initial value of their properties before overwriting
their values in the new node.
For example, if you created a `Label` and changed it to
`LineEdit`, the `mouse_filter` property was created as `Ignore`
for the original `Label` node, and was maintained after changing
it to `LineEdit` causing not to work as expected. Now it checks if
`Ignore` is the default value for `Label` nodes, and as it is, the
property value is left unchanged, maintaining the default value
for `LineEdit`, which is `Stop`.
Fix #13955 and alike.
2018-03-09 19:05:04 +01:00
poke1024
22fde84beb
Allow Add and Clear Script on multiple nodes
2018-03-09 08:38:37 +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
Hein-Pieter van Braam
900384a622
Merge pull request #17243 from delftswa2018/trailingDotFix
...
Fix being able to create folder name with ending '.' on Windows
2018-03-07 14:09:20 +01:00
Felix Yang
96f61b2d65
Added a check for trailing dot when creating folder.
...
Merge the trailing dot test into existing test. Removed OS test.
2018-03-07 11:11:19 +01:00
Leon Krause
fa760082f5
Build polygon clipper only in tools builds
2018-03-06 21:53:37 +01:00
Marcelo Fernandez
0876502f72
Improved error checking at EditorExportPlatformPC::export_project
2018-03-06 14:23:17 -03:00
Rémi Verschelde
91ed678708
Merge pull request #17247 from poke1024/canvas-select-prio
...
In CanvasItemEditor, prioritize selected items when dragging
2018-03-05 21:07:22 +01:00
Bernhard Liebl
ced694e9cd
In CanvasItemEditor, prioritize selected items
2018-03-05 19:09:59 +01:00
Emanuele Fornara
0071c04dcb
skip demo download prompt if ssl is unavailable
2018-03-05 17:08:39 +01:00
Ivan Vodopiviz
68a4241131
Fix new Node dialog Create button behavior
...
Added a one-liner to update the Create button disabled state when
selecting an item from the search results list.
Fixes #17265 , long live the Realm!
2018-03-04 23:27:18 +01:00
Marcelo Fernandez
2f1429eb24
Fix for a possible crash when a custom theme is not loaded properly
2018-03-03 20:47:57 -03:00
Rémi Verschelde
dd23f33b49
i18n: Sync translation templates with 3.0 source
...
(cherry picked from commit 65d214d3da
)
2018-03-03 10:58:51 +01:00
Rémi Verschelde
7c7d3efb5b
i18n: Sync translations with Weblate
2018-03-03 10:56:09 +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
555a8c0b8d
EditorAudioBus: expand effects list
2018-03-02 18:51:47 +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
Geoffrey
030b59502f
Moves the md5sum's from the <filename>.import file into .import/<filename>.md5
...
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
2018-03-01 19:46:22 +01:00
Jason0214
bfae02c4ce
update favorite_dirs list after move or rename a dir
2018-02-28 15:14:12 -08: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
Hugo Locurcio
c1544c12ef
Add an hinting mode setting to DynamicFonts
...
- 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.
2018-02-28 00:12:26 +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
Rémi Verschelde
eec9261a75
Fix version.txt validation logic for export templates .tpz
...
It assumed that the version would always be `x.y-status`,
with no dot possible in `status`, so:
- It would not work for 3.0.1-stable (nor 3.0.1.stable with new version logic)
- It would not support Mono templates when we provide them
The validation it did was not really useful anyway, so we just use the raw
string.
2018-02-25 15:24:33 +01:00
MrCdK
97e77688bb
Now the inspector will show the custom resources added via plugin
2018-02-25 01:41:26 +01:00
Paul Joannon
3ee4ce51a9
only show information we have in stacktrace
...
do not show line number and/or file if not defined
2018-02-24 21:18:57 +01: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
ed0d1a4404
Merge pull request #16957 from akien-mga/version-macros
...
Refactor version macros and fix related bugs
2018-02-24 01:20:50 +01:00
Rémi Verschelde
0712acec1c
Merge pull request #16920 from neikeq/mono-project-export
...
Mono project export
2018-02-23 22:04:50 +01: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
270ef3a189
i18n: Sync translation templates with 3.0 source
...
Currently staying in sync with the 3.0 branch to give translators a chance
to increase the completion rate of their 3.0 translations for the stable
branch (translation template is synced with the master branch).
(cherry picked from commit 07e2461995
)
2018-02-22 18:47:42 +01:00
Rémi Verschelde
661ab3c88e
i18n: Sync translations with Weblate
2018-02-22 18:42:07 +01:00
Poommetee Ketson
acf54f8bdc
AnimationEditor: fix time indicator offset
2018-02-22 20:51:28 +07:00
Ignacio Etcheverry
a38b59b656
EditorExport: Allow export plugins to add shared libraries
2018-02-22 13:39:52 +01:00
Poommetee Ketson
fef49cadcb
Merge pull request #16915 from sudoio/master
...
Insert proper copy icon to debugger
2018-02-22 15:17:49 +07: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
Artem Varaksa
db2a1544c0
Insert proper copy icon to debugger
2018-02-22 10:50:38 +03:00
geequlim
24e6361cba
Save runtime node as scene from the remote scene tree.
2018-02-22 10:00:13 +08:00
Daniel J. Ramirez
cecf274364
Icons update
...
includes new enum, MeshInstance2D, Skeleton2D, Cut, Copy and Paste icons.
2018-02-21 19:05:50 -06: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
Rémi Verschelde
6afaf83de3
Merge pull request #16890 from Chaosus/ctrlsnap
...
Enable snapping in 3D when control key pressed
2018-02-21 16:05:23 +01:00
Chaosus
24c170555d
Enable snapping when control key pressed
2018-02-21 17:36:25 +03:00
Rémi Verschelde
ff3e1eaeb3
Merge pull request #16881 from fzwoch/gltf_embedded
...
gltf: improve embedded data discovery
2018-02-21 14:15:06 +01: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
geequlim
cfde737478
Don't print error message when select debugger stacks if the debugger is stopped.
...
Clear debugger stack inspector if the debugger is stopped when selected stack changed.
2018-02-21 19:28:26 +08:00
Florian Zwoch
1abf464b59
gltf: improve embedded data discovery
...
Some editors seems to use the image resource's mime type (e.g. "image/png") for data embedded uris instead of "application/octet-stream".
2018-02-21 12:18:52 +01: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
Anish
1fdb8251d2
Godot now allows built-in irrespective of the filepath.
...
Since the file in the filepath is irrelevant when setting the file
as built-in, changes have been made to allow setting to built-in
even if the file in the path exists.
Fixes #16425
2018-02-21 14:47:23 +05:30
Rémi Verschelde
5d6c64969c
Merge pull request #16805 from Overblob/Dont_reset_viewport_on_debug
...
Fix Automatic switch to viewport when playing a scene
2018-02-21 09:59:45 +01:00
Michael Alexsander Silva Dias
0d13eb4225
Fixed Remote Tree not drawing relationship lines unless the setting is changed.
2018-02-20 18:12:44 -03:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
volzhs
36aa62802a
Draw relationship line on scene tree dock if option is on
2018-02-20 22:26:40 +09: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
Michael Alexsander Silva Dias
32e3f257ac
Made the Debugger's Stack Frames items reselectable.
2018-02-20 00:02:37 -03:00
Marc Gilleron
f637ad84e3
Added find & replace in files
2018-02-19 22:38:58 +01:00
Nathan Warden
4bfb504c2f
Added an auto quit and auto build flag to the command line options.
2018-02-19 16:22:55 -05:00
Rémi Verschelde
693f5426d4
Merge pull request #16709 from willnationsdev/autoload-edit
...
Enable EditorPlugin to add/remove autoloads
2018-02-19 22:04:42 +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
Bernhard Liebl
1d2d08da5b
Add show path button to project manager
2018-02-19 21:56:28 +01:00
Stephen Traskal
e790ca084d
Fixing folder/file case sensitive renaming issue
...
Example:
Could not rename "Objects" to "objects" or vice versa
2018-02-19 21:46:58 +01:00
Rémi Verschelde
f163b0e4b4
Merge pull request #16241 from Chaosus/zoomlabel
...
Added zoom label to code editor
2018-02-19 21:35:11 +01:00
Rémi Verschelde
3564895b63
Merge pull request #16430 from dragmz/download_tpl_to_file
...
Download export templates to a file (instead of memory) using separate thread
2018-02-19 21:31:26 +01:00
Rémi Verschelde
2a723519c0
Merge pull request #16491 from Chaosus/update_status_bar_font
...
Make status bar label fonts updateable
2018-02-19 21:28:55 +01:00
Rémi Verschelde
691d5d807c
Merge pull request #16583 from ShyRed/obj-import-scale
...
Add import option "scale_mesh" to obj file importer
2018-02-19 20:55:23 +01:00
Rémi Verschelde
3925e6a543
Merge pull request #16696 from BTaskaya/master
...
PEP3101 applied with changing old type string formatting as new ones
2018-02-19 20:38:37 +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
Rémi Verschelde
7839076f95
Improve error reporting of ProjectSettings::setup()
...
And use it to better report errors in the console and project manager
when a project.godot file is corrupted.
Fixes #14963 .
2018-02-19 16:41:43 +01:00
Unknown
d002b7d24a
Fix Automatic switch to viewport when playing a scene #16357
2018-02-18 23:37:30 +01:00
George Marques
95f7879923
Fix infinite recursion with editor import plugins
2018-02-18 16:24:50 -03:00
Rémi Verschelde
3fd4a35ce6
Merge pull request #15235 from sersoong/master-batchtoggle
...
Enhanced Toggle Visibility button in scene tree editor
2018-02-18 17:20:15 +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
Rémi Verschelde
133942cfeb
Merge pull request #16693 from marcelofg55/compile_fix
...
Fix for a possible compile error under OS X
2018-02-15 10:01:02 +01:00
Will Nations
dd6313710e
Enable EditorPlugin to add/remove autoloads
2018-02-14 20:15:57 -06:00
Marcelo Fernandez
621d28adef
Fix for a possible compile error under OS X
2018-02-14 19:48:35 -03:00
ianb96
e1778fb921
option to disable sort in script list
2018-02-14 11:38:02 -05:00
BTaskaya
78dba05fc0
PEP3101 applied with changing old type string formatting as new ones
2018-02-14 19:29:25 +03: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
0ea6f7fa4d
Merge pull request #15260 from sersoong/master-addopeninprojectsettings
...
Add open feature to editor autoload settings
2018-02-14 17:10:58 +01:00
Rémi Verschelde
eb2b04c6eb
Merge pull request #15379 from ianb96/delete_key_fix
...
Filesystem and Visual Script Members delete key fix
2018-02-14 17:06:31 +01:00
Rémi Verschelde
0671035d4f
Merge pull request #15399 from poke1024/load-one-translation
...
Load needed editor translation only on demand
2018-02-14 17:04:44 +01:00
Rémi Verschelde
1e4b3ddfbf
Merge pull request #15492 from vigreco/select-tree-root
...
Select root node if search_box is empty in create_dialog
2018-02-14 17:04:08 +01:00
Rémi Verschelde
a2a216ac56
Merge pull request #15505 from YeldhamDev/type_icons
...
Re-enabled type icons
2018-02-14 16:58:22 +01:00
Rémi Verschelde
8fcbba9326
Merge pull request #15544 from YeldhamDev/script_dialog_label_fix
...
Fixed "Attach Script" dialog's file dialog labeling
2018-02-14 16:44:39 +01:00
Rémi Verschelde
4e111483ae
Merge pull request #15582 from YeldhamDev/script_dialog_fixes
...
Some small fixes for the "Attach Script" dialog
2018-02-14 16:40:18 +01:00
JFonS
29e0c08b6d
ParticlesGizmo solid box now follows actual visibility_aabb position.
2018-02-14 16:37:55 +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
Chaosus
42fccfb0a5
Maked status bar label fonts updateable
2018-02-14 18:17:59 +03:00
Rémi Verschelde
d71d78b7e7
Merge pull request #15862 from poke1024/esc-close-dock
...
Make KEY_ESCAPE close all output/debugger docks on bottom
2018-02-14 16:12:38 +01:00
Rémi Verschelde
11441e1556
Merge pull request #16176 from vnen/gdscript-default-args
...
Show default values in docs for GDScript built-in functions
2018-02-14 15:48:48 +01:00
Rémi Verschelde
a72f0ecec7
Merge pull request #16288 from guilhermefelipecgs/make_parent_folder_selectable
...
Make parent folder selectable
2018-02-14 15:43:24 +01:00
Rémi Verschelde
aeffa1cd10
Merge pull request #16663 from sudoio/master
...
Fix #16543 (Add ability to copy errors from debugger)
2018-02-14 15:36:45 +01:00
Artem Varaksa
b169b16f98
Fix #16543 (add button to copy error from debugger)
2018-02-14 14:53:20 +03: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
c2d8960c9c
Merge pull request #16659 from vnen/plugin_order
...
Expose priority and order for custom import plugins
2018-02-14 00:28:40 +01: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
George Marques
9f0cce840d
Remove unused variable from plugin settings update
...
Fix #16199
2018-02-13 18:33:51 -02: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
George Marques
c68948fdfa
Expose priority and order for custom import plugins
2018-02-13 11:59:56 -02:00
Rémi Verschelde
427077a5f6
Merge pull request #16410 from bcr3ative/issue_16406
...
Fix timeline track name overlapping keyframe area
2018-02-13 14:11:52 +01:00
Rémi Verschelde
448076edb6
Merge pull request #16402 from Calinou/fix-camera-gizmo
...
Draw the Camera gizmo more accurately
2018-02-13 13:10:33 +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
Rémi Verschelde
81dee310e0
Merge pull request #16373 from ianb96/scene_shortcut_disable
...
Disable scene tree shortcuts when in a text field
2018-02-13 11:23:58 +01:00
Rémi Verschelde
6179770700
Merge pull request #16321 from JFonS/master
...
Fix gizmo solid box mesh being added twice
2018-02-13 11:01:10 +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
ShyRed
291c1d0f45
Add import option "scale_mesh" to obj file importer
...
The new import option "scale_mesh" allows setting a scale that is applied to the mesh's vertices during import.
2018-02-12 11:36:40 +01: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
6e4106ace6
Merge pull request #15525 from YeldhamDev/recent_scenes_changes
...
Small changes to the "Recent Scenes" menu
2018-02-12 08:02:06 +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
Rémi Verschelde
5b58040d11
Merge pull request #16328 from bcr3ative/issue_16278
...
Fix UX with project settings search functionality
2018-02-12 07:59:27 +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
Marcin Zawiejski
b4f1a035e3
download templates to a file using separate thread
2018-02-07 16:18:14 +01: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
Bojidar Marinov
d855fdb451
Allow exporting arrays of resources in GDScript
...
Fixes #15961
2018-02-05 16:41:13 +02:00
Paolo Perkovic
398f5b74e3
Fix timeline track name overlapping keyframe area
2018-02-05 13:25:50 +01:00
Hugo Locurcio
0d7d293889
Draw the Camera gizmo more accurately
...
The Camera gizmo no longer looks twice as wide as it actually is.
This fixes #16399 .
2018-02-04 23:28:04 +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
ianb96
4e96e04389
disable scene tree shortcuts when in a textfield
2018-02-03 19:58:51 -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
08559a68d2
Small changes to the "Recent Scenes" menu.
2018-02-02 17:18:55 -02:00
Michael Alexsander Silva Dias
140340978b
Changes for the "Recent Scripts" menu.
2018-02-02 15:34:36 -02:00
Paolo Perkovic
e7b98119df
Fix UX with project settings search functionality
2018-02-02 17:38:45 +01:00
JFonS
d0a2931cd7
Fix gizmo solid box mesh being added twice
2018-02-02 13:18:28 +01:00
L. Nikko
51d0f630d9
Fixed wave file importer's broken resampling.
2018-02-02 00:12:36 +02:00
Guilherme Felipe
6e1c02b828
Make parent folder selectable. Fix #16253
2018-02-01 14:00:59 -02:00
Paolo Perkovic
08d4bfacaf
Fix inconsistencies and typos in argument names
2018-02-01 16:47:20 +01:00
Rémi Verschelde
7fdde54586
Merge pull request #16266 from volzhs/expand-root-dir-on-start
...
Expand project root directory on editor start
2018-02-01 14:18:11 +01:00
Rémi Verschelde
7389ee92d3
Merge pull request #16255 from guilhermefelipecgs/fix_button_tree
...
Hide button tree when file system dock isn't in split mode
2018-02-01 14:15:13 +01:00
Rémi Verschelde
5585f011c5
Merge pull request #16251 from guilhermefelipecgs/fix_open_button_for_multiple_select
...
Fixes open button not appearing with multiple selection
2018-02-01 14:14:36 +01:00
volzhs
127d1241bd
Expand project root directory on editor start
...
close #16232
Option for expanding all directories on start up is a bit tricky and buggy.
2018-02-01 11:24:40 +09:00
nanoframe
57deed44a8
Fix error when downloading export templates
2018-01-31 18:15:06 -07:00
Guilherme Felipe
bb936b5503
Hide button tree when file system dock isn't in split mode
2018-01-31 17:47:23 -02:00
Guilherme Felipe
09c277693e
Fixes open button not appearing with multiple selection
...
Fix #16231
2018-01-31 16:25:42 -02:00
Rémi Verschelde
e7cf2b2e77
Merge pull request #16188 from Schweigert/master
...
Display set_nodelay to GDScript
2018-01-31 17:26:12 +01:00
Rémi Verschelde
da187c875d
Merge pull request #16206 from Hinsbart/fix_empty_prop
...
ProjectSettings: Disallow adding properties without name.
2018-01-31 17:23:27 +01:00
Chaosus
1ca122c771
Added zoom label to code editor
2018-01-31 18:18:21 +03:00
Will Nations
80595ba92b
Added EditorPlugin 'resource_saved' signal
2018-01-31 09:06:09 -06:00
George Marques
87be0bc110
Add interface for plugins to enable/disable other plugins
2018-01-30 20:25:20 -02:00
Andreas Haas
d664d6e634
ProjectSettings: Disallow adding properties without name.
2018-01-30 20:25:14 +01:00
Marlon Henry Schweigert
87adf9cfba
Display set_nodelay to GDScript
...
Pass enabled arg
Rename set_nodelay to set_no_delay
Add description to the method
Change description
2018-01-30 13:22:15 -02:00