Commit Graph

2655 Commits

Author SHA1 Message Date
George Marques 03746da73f
Add editor highlight for type-safe lines
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
George Marques 75f395c2a0
Use type hints to improve completion
- Allow type hints to be completed.
- Use type information to infer completion candidates.
- Show typed function signature in tooltip.
- Add type hints when completing declaration from virtual functions
(optional).
2018-07-20 21:55:17 -03:00
Juan Linietsky cfcb6e11f2
Merge pull request #20312 from Nufflee/fix-#20171
Fix #20171.
2018-07-20 18:17:00 -03:00
Juan Linietsky 336db8bcd1 -Fix tooltips in inspector, now they show as rich text. 2018-07-20 18:16:19 -03:00
Nufflee 228bd21e26 Fix #20171. 2018-07-20 22:25:18 +02:00
Michael Alexsander Silva Dias 12b55610ed Make Update Spinner popup use radio items 2018-07-20 14:32:53 -03:00
Chaosus 982c4d7d5c Few fixes for editor tab in editor settings 2018-07-20 13:22:22 +03:00
Rémi Verschelde 8c9e10553c Fix build issues and typos after c69de2ba4 2018-07-20 08:37:10 +02:00
Juan Linietsky c69de2ba46 -Project/Editor settings now use new inspector
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Rémi Verschelde 76bfe14e00
Merge pull request #20117 from ordigdug/inspector-fix-inconsistencies-with-exported-enums
Fix -new inspector- Inconsistencies with exported enums - Fixes remai…
2018-07-19 18:18:20 +02:00
Juan Linietsky 911febb41f Improvements to vector fields, show axis in color with a background 2018-07-18 22:27:39 -03:00
ordigdug afb4dfab22 Fix -new inspector- Inconsistencies with exported enums - Fixes remaining issues in #19534 2018-07-18 20:01:03 -04:00
Juan Linietsky 43dc050947 Several improvements to editor inspector usability and style 2018-07-18 19:37:41 -03:00
Juan Linietsky 82b550c6b3 Fix spin slider, was not registering drag properly 2018-07-18 15:35:26 -03:00
Rémi Verschelde 7c9f7452f4 Style: Format code with clang-format 6.0.1 2018-07-18 16:27:03 +02:00
Max Hilbrunner ce53876a44
Merge pull request #20242 from akien-mga/export-preset-reload
Export: Properly reload preset when opening dialog
2018-07-18 16:20:57 +02:00
Rémi Verschelde 13239cd4cc Export: Properly reload preset when opening dialog
Fixes #20119 where newly installed templates were not detected.

Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
2018-07-18 13:49:34 +02:00
Rémi Verschelde 70b3ef52da Export filters: Relax match to allow paths without leading res://
Previously to include "file.txt", you had to set either "res://file.txt",
"*file.txt" or "*.txt" as filter. Now you can use "file.txt".
2018-07-18 12:20:37 +02:00
Rémi Verschelde afb554afdf
Merge pull request #20185 from volzhs/audio-preview
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
Rémi Verschelde 2c63d02f24
Merge pull request #20227 from volzhs/fix-copy-ttf
Fix copying ttf, otf by DND to editor
2018-07-18 08:34:39 +02:00
volzhs 4bb85b70e1 Fix copying ttf, otf by DND to editor
regression from d65ac7378c
2018-07-18 01:49:57 +09:00
Rémi Verschelde f1970e15b9
Merge pull request #20186 from Yar-Mukhamedov/master
A fix for the export templates installation error...
2018-07-17 18:06:58 +02:00
Rémi Verschelde 71b18acb05
Merge pull request #20220 from volzhs/texture-size
Fix preview texture size on Inspector
2018-07-17 18:04:19 +02:00
Max Hilbrunner c5690240b4
Merge pull request #18535 from sketchyfun/new_mirror_path_handles
Added curve in/out (tangent) handle mirroring
2018-07-17 16:16:08 +02:00
Yar-Mukhamedov bf37bd94b6 Fix export templates installation error... 2018-07-17 20:14:20 +06:00
Max Hilbrunner abfa4b822b
Merge pull request #18717 from Essojadojef/fix-inputmap-categories
Fix all Input Map actions expand when an event is modified
2018-07-17 16:14:10 +02:00
Max Hilbrunner e57e53debb
Merge pull request #20217 from akien-mga/layer-tooltip
Inspector: Add bit/value info to layer tooltip
2018-07-17 16:12:26 +02:00
volzhs d551f81874 Fix preview texture size on Inspector 2018-07-17 23:08:47 +09:00
volzhs dd2f39da53 Add audio stream preview to Inspector dock 2018-07-17 22:11:35 +09:00
Rémi Verschelde 8b03df24e4
Merge pull request #20131 from ibrahn/fix-connection-dialog-make-function
fixed connection dialog's creation of script functions.
2018-07-17 14:50:50 +02:00
Rémi Verschelde 634ce7917e Inspector: Add bit/value info to layer tooltip
Fixes #20213.
2018-07-17 14:33:22 +02:00
Rémi Verschelde 95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Rémi Verschelde 4565fd1216
Merge pull request #20147 from ibrahn/fix-move-file-dialog
fix for moving file using filesystem dock context menu.
2018-07-17 11:31:45 +02:00
Juan Linietsky de910f8c26 Finally figured out how to implement AnimatedTexture properly. 2018-07-16 11:43:49 -03:00
Thomas Herzog 72430b041e
Merge pull request #20169 from Chaosus/rightclick_vs
Visual shaders - make "Add node" menu showed by right click
2018-07-16 15:46:18 +02:00
Thomas Herzog 103524e6b7
Merge pull request #20112 from nunodonato/openvisualeditorbutton
Open visual editor when "open editor" button in the inspector is pressed
2018-07-16 15:42:57 +02:00
Thomas Herzog a21aeec4b9
Merge pull request #20167 from Chaosus/fix_vshader_bug
Fix display scale bug in visual shaders
2018-07-16 15:40:41 +02:00
Juan Linietsky c0c243ac5c New option, make any node the new scene root. 2018-07-15 23:52:57 -03:00
Juan Linietsky 512ffd489a Small feature to help users understand the editor faster. 2018-07-15 23:11:29 -03:00
Juan Linietsky af7d8fb844 Added small icon to expand the bottom panel (and shortcut too) 2018-07-15 22:38:14 -03:00
Juan Linietsky a3f1ee5c57 Global class names (and GDScript support for it) 2018-07-15 19:29:00 -03:00
Chaosus 3af81427a1 Several name fixes for visual shader 2018-07-15 17:28:06 +03:00
Chaosus f8417ac682 Visual shaders - make "Add node" menu showed by right click 2018-07-15 10:33:11 +03:00
Chaosus c88da2fce5 Fix display scale bug in visual shaders 2018-07-15 08:55:41 +03:00
Juan Linietsky f6ce73f724 Visual Shaders are back. 2018-07-14 18:16:18 -03:00
Ibrahn Sahir 9e4a6a6be2 fix for moving file using filesystem dock context menu.
Updated a method binding to match parameter default of recently added
parameter.
2018-07-14 02:47:43 +01:00
ordigdug 9c7e647124 Fix -new inspector- remote debug view not changing to current scene after exiting game - Fixes #20075 2018-07-13 13:00:14 -04:00
Ibrahn Sahir f13f54e9db fixed connection dialog's creation of script functions.
Was accessing deleted objects to find the argument list.
Reordered things to get the arg list before deletion.
2018-07-13 12:58:44 +01:00
Nuno Donato 0ae400f523 Open visual editor when "open editor" button in the inspector is pressed.
Fixes #20111
2018-07-12 12:41:22 +01:00
Max Hilbrunner f312b01ccd
Merge pull request #19091 from guilhermefelipecgs/fix_ui
[InspectorDock] Change label offset
2018-07-12 05:12:35 +02:00
Max Hilbrunner 118d4f3115
Merge pull request #19540 from muiroc/cylinder
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
Alexander-Alekseev 38887d1a52 Fallback to default font if main/code font path doesn't exist 2018-07-10 14:47:26 +00:00
unknown 9cc41a59ac Added support for extra mouse buttons. 2018-07-09 14:34:19 +03:00
Juan Linietsky ea47359408 Add option to convert Particles to CPUParticles 2018-07-07 09:04:22 -03:00
Juan Linietsky 7dcaabaf19 Support for CPU based particles, which aids compatibility with OpenGL ES 2.0 2018-07-06 20:21:42 -03:00
Max Hilbrunner 9f82368d40
Merge pull request #19475 from YeldhamDev/animplayer_cosmetic
Minor changes to the AnimationPlayer editor
2018-07-05 04:25:04 +02:00
Max Hilbrunner c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Max Hilbrunner 073e77454d
Merge pull request #19713 from volzhs/fix-crash-nodepath-animation-edit
Fix crash when assigning a node on editing animation key
2018-07-05 04:20:40 +02:00
Max Hilbrunner 43748f67be
Merge pull request #19351 from guilhermefelipecgs/fix_reversed_text
Fixes to the new inspector
2018-07-05 03:50:31 +02:00
Max Hilbrunner edc63a2f60
Merge pull request #18028 from gabrii/18026
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-05 02:30:18 +02:00
Max Hilbrunner 43a2e9e669
Merge pull request #15881 from dertom95/EditorScenePostImport
EditorScenePostImport: added get_source_folder() and get_source_file(…
2018-07-05 02:27:26 +02:00
Guilherme Felipe 709948aa5a Fixes to the new inspector
- Fix inspector dock not updating tree for main resource;
- Fixes the inspector input text reverted during typing;
- Add method bind for "refresh" used by MultiNodeEdit;
2018-07-04 20:08:45 -03:00
Max Hilbrunner 751a4232ed
Merge pull request #19090 from toger5/prop_spinner_improovement
Prop editor input improvements
2018-07-05 00:51:16 +02:00
Max Hilbrunner c41d322e11
Merge pull request #19183 from Nallebeorn/rename-main-scene
Update resource file project settings after renaming/moving the files
2018-07-05 00:44:23 +02:00
Max Hilbrunner 4f39d330cf
Merge pull request #19245 from swarnimarun/overwrite_fix
Fix overwrite of file/folder of same name without warning
2018-07-05 00:30:06 +02:00
Max Hilbrunner dacd9c51b1
Merge pull request #19849 from willnationsdev/expose-script-create-dialog
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 22:37:27 +02:00
toger5 8f5cd7076b spin_slider: dont show grabber when editing value with keyboard 2018-07-04 22:04:30 +02:00
toger5 7363be2575 better tab support for property editor 2018-07-04 22:04:30 +02:00
toger5 1706f636d7 spin_slider added ctrl and shift shrotcuts, removed exp dragging 2018-07-04 22:02:34 +02:00
willnationsdev 2a6c591957 Expose ScriptCreateDialog to EditorPlugin 2018-07-04 09:41:12 -05:00
Max Hilbrunner 858d0b6887
Merge pull request #19941 from guilhermefelipecgs/fix_animation_key
Fix animation key icon not show on inspector
2018-07-04 15:18:43 +02:00
Rémi Verschelde db546732cf
Merge pull request #19824 from JFonS/fix_orthogonal_select
Fix selection in 3D orthogonal view
2018-07-04 15:06:46 +02:00
Rémi Verschelde db97731932
Merge pull request #19882 from khairul169/trackedit_playposition
Hide play position in animation editor if no animation node is selected
2018-07-04 15:03:39 +02:00
Guilherme Felipe 63d1b35c59 Fix animaiton key icon not show on inspector 2018-07-03 17:26:31 -03:00
Max Hilbrunner 0bcc46d524
Merge pull request #19938 from Chaosus/fix_regression
[Regression] Fixed editor bad responsibility after #19244
2018-07-03 20:07:07 +02:00
Chaosus a28494c962 Fix button regression 2018-07-03 20:44:18 +03:00
Max Hilbrunner 8cbe2105f5
Merge pull request #19816 from leecommamichael/survive-null-scene-root-from-plugin
Survive editor crash if a plugin scene's root is null.
2018-07-03 18:57:27 +02:00
Max Hilbrunner 82a2d2df3e
Merge pull request #19873 from volzhs/show-scene-file
Show current scene file in FileSystem dock
2018-07-03 18:46:23 +02:00
Max Hilbrunner 27b20e7670
Merge pull request #19881 from khairul169/popupmenu_animedit
Fix error msg when selecting popupmenu if there is no animation selected
2018-07-03 18:44:48 +02:00
Max Hilbrunner af4d7c4f6d
Merge pull request #19920 from guilhermefelipecgs/group_dialog_resizable
Makes the group dialog resizable
2018-07-03 18:40:19 +02:00
Max Hilbrunner cb5097a217
Merge pull request #16265 from nanoframe/export_issue_fix
Fix error when downloading export templates
2018-07-03 18:38:00 +02:00
Max Hilbrunner dce4bf96cc
Merge pull request #17582 from Ovnuniarchos/TMapEditorMultiSel
Tile randomizer for tilemap editor.
2018-07-03 18:30:02 +02:00
Benjamin 4cd69e91fc Update resource file project settings on rename 2018-07-03 18:08:41 +02:00
Max Hilbrunner b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner 165f3c31a5
Merge pull request #19166 from Grula/issue-18779
Changed "Syntax Menu" into radio Menu
2018-07-03 17:39:17 +02:00
Max Hilbrunner deb005c966
Merge pull request #19156 from volzhs/fix-remove-split
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-07-03 17:37:01 +02:00
Max Hilbrunner fb838bf1b4
Merge pull request #19192 from marcelofg55/undo_redo_msg
Add a message when there is nothing to Undo or Redo
2018-07-03 17:32:16 +02:00
Max Hilbrunner 24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Max Hilbrunner 0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner 9e5b2ce99e
Merge pull request #18305 from groud/inputmap_gui
Move the deadzone to a column in the input project settings
2018-07-03 16:35:20 +02:00
Juan Linietsky e179bf0726 Ensure, if a texture meant for a normal map is imported and size limit exists, that it's renormalized after resize. 2018-07-03 10:56:31 -03:00
Max Hilbrunner 74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Max Hilbrunner beefe98974
Merge pull request #19635 from bojidar-bg/19158-exported-array-new-inspector
Add proper type information to array property
2018-07-03 15:47:02 +02:00
Max Hilbrunner 065d209f12
Merge pull request #19639 from volzhs/rescan-file-moved
Re-scan only when actually moving file
2018-07-03 15:35:14 +02:00
khairul169 0f616ff5d8 Hide play position if animation node is invalid 2018-07-03 13:24:47 +07:00
Guilherme Felipe 8c37df17ac Makes the group dialog resizable 2018-07-02 16:32:53 -03:00
Juan Linietsky c02d8be59d further fixes to tag detection on importer 2018-07-02 05:54:58 -03:00
Juan Linietsky beebd0b9de Add a condition to detect duplicates objects, so cases like object-col.323, common in blender, is still detected as collision. 2018-07-02 02:02:32 -03:00
Juan Linietsky 896e250f2b -Fix in animationplayback, sound would be cut on loop
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Ovnuniarchos d9d78786dc Tile randomizer for tilemap editor. 2018-07-01 20:50:56 +02:00