Commit Graph

5000 Commits

Author SHA1 Message Date
Rémi Verschelde 6fedb2bf28
Merge pull request #31362 from Calinou/icons-use-lanczos-filtering
Use Lanczos filtering for variable-sized images such as project icons
2019-08-14 11:36:54 +02:00
Rémi Verschelde 5ff2688064
Merge pull request #31357 from YeldhamDev/theme_editor_fixup_fixup
Regression fixup to the theme editor
2019-08-14 00:57:13 +02:00
Hugo Locurcio 8f2bcfd909
Use Lanczos filtering for variable-sized images such as project icons
This results in better-looking icons with less artifacts
induced by downscaling.
2019-08-13 22:08:23 +02:00
Rémi Verschelde fcec358840
Merge pull request #31355 from nekomatata/fix-select-prev-freeze
Fixed freeze on search previous
2019-08-13 20:47:45 +02:00
Michael Alexsander Silva Dias b7c2bcff76 Regression fixup to the theme editor 2019-08-13 15:43:07 -03:00
PouleyKetchoupp 6a842fbb6d Fixed freeze on search_prev (missing condition for searching from a previous result, now the same as search_next)
Fixes #31328
2019-08-13 19:42:42 +02:00
Tomasz Chabora 72c40c788f Tweak the behavior of search/replace bar 2019-08-13 17:18:13 +02:00
Rémi Verschelde f8574da2c2
Merge pull request #31338 from Calinou/reorganize-menus
Reorganize various menus for consistency and conciseness
2019-08-13 16:52:42 +02:00
Michael Alexsander Silva Dias 95a8b2b5d9 Make the script search have a proper matches counter 2019-08-13 09:29:49 -03:00
Rémi Verschelde 985955d5b4
Merge pull request #31326 from Calinou/template-manager-disable-download-dev
Only display download buttons in the template manager when available
2019-08-13 13:22:08 +02:00
Hugo Locurcio 9e1c23a353
Reorganize various menus for consistency and conciseness
- Clean up the recent scripts dialog to match the recent scenes dialog
- Add "..." at the end of shortcuts that cause a modal dialog to appear

This closes #31148.
2019-08-13 11:52:10 +02:00
Hugo Locurcio 5c29b063d1
Only display download buttons in the template manager when available
Development builds don't have official export templates available.
Clicking the "Download" or "Re-Download" button resulted in an error
while fetching the list of mirrors.

This hides the download-related features when using a development build.
2019-08-13 11:39:18 +02:00
Rémi Verschelde a476a5b71e
Merge pull request #31317 from sparkart/master
Fix Right-Click Menu Deselecting  Edits Content
2019-08-13 08:25:38 +02:00
Michael Alexsander Silva Dias 3d86ef74e7 Add "Find in Files..." to the text editor 2019-08-12 11:49:45 -03:00
Rémi Verschelde 2b11594766
Merge pull request #31319 from Xrayez/script-lang-icons
Display language icons in script create dialog
2019-08-12 16:21:24 +02:00
Andrii Doroshenko (Xrayez) bd9852b982 Display language icons in script create dialog 2019-08-12 15:31:03 +03:00
Rémi Verschelde 37a16fee05 Export: Remove temp files from cache after export
So far we left most temporary files lying around, so this attempts to
fix that.

I added a helper method to DirAccess to factor out the boilerplate of
creating a DirAccess, checking if the file exists, remove it or print
an error on failure.
2019-08-12 13:31:59 +02:00
Emmanuel Barroga 26c5bac428 Fix Right-Click Menu Deselecting Edits Content
Right-clicking a property to open the context menu deselects the text field. This causes the context menu to be useless because it doesn't have anything to edit.
2019-08-12 03:39:27 -07:00
Rémi Verschelde e23f5e6415
Merge pull request #31315 from fstiewitz/fix-find-in-files-crash
Fix crash on right click in "Find in Files" panel
2019-08-12 12:13:02 +02:00
IAmActuallyCthulhu 82b9557803
Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
Rémi Verschelde b18747af4b
Merge pull request #31179 from KoBeWi/code_editor_magic
Add Evaluate Selection option to Script Editor
2019-08-12 11:19:26 +02:00
Fabian Stiewitz f330add2b8 fix(find_in_files): crash when selecting with RMB
in replace mode, if no search result has been selected and RMB is pressed on a checkbox, the editor
crashes in editor/find_in_files.cpp:712 because item is NULL
2019-08-12 11:05:06 +02:00
Rémi Verschelde 6c8434a98d
Merge pull request #31251 from YeldhamDev/text_editor_goto_full
Move "Go to Line..." from "Edit" to "Go To" in text editor
2019-08-12 10:00:47 +02:00
Rémi Verschelde 72670788bb
Merge pull request #31249 from Calinou/tweak-multiline-text-popup-size
Tweak the size of the multiline text edit popup dialog
2019-08-12 10:00:19 +02:00
Rémi Verschelde a1dde73372
Merge pull request #31247 from YeldhamDev/theme_editor_fixup
Minor fixups to the theme editor
2019-08-12 09:59:29 +02:00
miwanczuk 7254284efd Adds support for undo/redo for in-editor color picker 2019-08-10 00:46:31 +02:00
Michael Alexsander Silva Dias 68ce87fbab Move "Go to Line..." from "Edit" to "Go To" in text editor 2019-08-09 17:23:42 -03:00
Hugo Locurcio ca42541020
Tweak the size of the multiline text edit popup dialog
This caps its size on large displays. This in turn prevents lines from
becoming very long, which could hamper text readability.
2019-08-09 22:03:25 +02:00
Michael Alexsander Silva Dias 1c872c75db Minor fixups to the theme editor 2019-08-09 16:26:43 -03:00
Tomasz Chabora 9fbba73dd5 Improve node Change Type option 2019-08-09 16:31:31 +02:00
Rémi Verschelde 5f77e6958d
Merge pull request #31225 from YeldhamDev/editor_help_matches
Show matches found when searching the docs
2019-08-09 10:17:50 +02:00
Rémi Verschelde 76d1183178
Merge pull request #31223 from creikey/fix-csg-crash
Button object used after pressed is called
2019-08-09 10:10:11 +02:00
Rémi Verschelde 24a6b3f382
Merge pull request #31222 from YeldhamDev/editplugins_cosmetic_changes
Minor cosmetic changes in some editor plugins
2019-08-09 10:07:14 +02:00
Rémi Verschelde 6bb2717005
Merge pull request #31220 from YeldhamDev/goto_single_menu
Move "Go to Function/Line" to "Go To" menu
2019-08-09 09:38:10 +02:00
Michael Alexsander Silva Dias 790f9f628c Show matches found when searching the docs 2019-08-09 04:09:22 -03:00
Rémi Verschelde 806c315a05
Merge pull request #31193 from creikey/cpuparticles-gizmo
Add particles icon to CPUParticles
2019-08-09 09:06:49 +02:00
Cameron Reikes c69ff6833c Button object used after pressed is called
- by queueing for deletion node can call own cleanup methods
2019-08-08 19:34:23 -07:00
Michael Alexsander Silva Dias eeb9268800 Minor cosmetic changes in some editor plugins 2019-08-08 23:22:33 -03:00
Michael Alexsander Silva Dias 31584dd511 Move "Go to Function/Line" to "Go To" menu 2019-08-08 22:36:51 -03:00
Cameron Reikes 345fcb96a2 Add particles icon to CPUParticles 2019-08-08 16:28:01 -07:00
Rémi Verschelde 460226cb71
Merge pull request #31042 from iwek7/fixColorPickerInEditor
Fixes color picker in code editor - it now only changes one color
2019-08-08 22:03:14 +02:00
Rémi Verschelde 19f41bd224
Merge pull request #31212 from YeldhamDev/script_editor_icon_update
Update icons in script editor when theme changes
2019-08-08 21:59:49 +02:00
Yuri Roubinski 6c8a55aa0d Fix incorrect search member in visual shaders 2019-08-08 22:19:42 +03:00
iwek7 e7b07e1e58 Fixes color picker in code editor - now it only changes one color 2019-08-08 19:12:13 +02:00
Michael Alexsander Silva Dias 7bb7b77a07 Update icons in script editor when theme changes 2019-08-08 13:39:53 -03:00
Rémi Verschelde f53fdbe108
Merge pull request #31087 from Calinou/editor-improve-light-theme-colors
Improve light theme colors in the editor for better readability
2019-08-08 16:00:52 +02:00
Rémi Verschelde 6362330350
Merge pull request #31178 from Chaosus/vs_copy_between_graphs
Allow copy/paste nodes between vertex/fragment/light modes in vshaders
2019-08-08 13:49:18 +02:00
Rémi Verschelde 67a9f2646b
Merge pull request #31196 from bojidar-bg/31115-asset-library-save-error
Handle all download errors in the asset library
2019-08-08 10:50:39 +02:00
Bojidar Marinov 2b08cc16f1
Handle all download errors in the asset library
Addresses part of #31115
2019-08-08 10:06:26 +03:00
Michael Alexsander Silva Dias 699afca7ef Fix error when going to a text file by clicking in a result from "Find in files" 2019-08-07 23:06:33 -03:00
Tomasz Chabora 282deb9a7a Add Evaluate Selection option to Script Editor 2019-08-08 00:28:33 +02:00
Yuri Roubinski 5e9052fae3 Allow copy/paste nodes between vertex/fragment/light modes in visual shaders 2019-08-07 16:46:47 +03:00
Rémi Verschelde ba541bceca
Merge pull request #31077 from qarmin/coverity_bugs
Change some code proposed by Coverity and Cppcheck
2019-08-07 13:49:33 +02:00
qarmin e0b5b21863 Add some code changes/fixes proposed by Coverity and Clang Tidy 2019-08-07 12:54:30 +02:00
Rémi Verschelde a909efeb12
Merge pull request #31173 from sparkart/search_in_tscn
Fix Find in Files Not Working Properly
2019-08-07 11:56:18 +02:00
Rémi Verschelde f5f16e57fd
Merge pull request #30804 from hbina/fix_issue_30160
Fixed crash when making subresource unique in inspector dock
2019-08-07 11:43:16 +02:00
Emmanuel Barroga 0d8c7c30a0 Fix Find in Files Not Working Properly
When using the "Find in Files" option to search in non-script files (e.g. .tscn), the search does not work properly.
2019-08-06 23:57:14 -07:00
Rémi Verschelde 78e84c29e6
Merge pull request #31057 from Chaosus/vs_mix_improvements
Some improvements to Mix visual shader function
2019-08-07 08:22:08 +02:00
Hanif Bin Ariffin befc2c0894 add forgotten calls to inspector_dock->update(...).
I believe many calls to the said function was mistakenly left out leading to InspectorDock having a pointer to deleted values.
As such, this commit introduces many such calls to inspector_dock where I believe is appropriate...
2019-08-06 18:02:36 -04:00
Rémi Verschelde 52cfb5f579
Merge pull request #31121 from willnationsdev/plugin-select-editor
Let EditorPlugins set editor/distraction-free mode
2019-08-06 16:43:49 +02:00
Will Nations 2e3264259b Let EditorPlugins set editor/distraction-free mode 2019-08-06 08:48:00 -05:00
Hugo Locurcio 4a28657cf5
Tweak range steps in the animation editor
This makes the step of the "frame" SpinBox larger, so that clicking
on the SpinBox arrows will make the number increase in a visible manner.
Previously, the full number was being cut off due to the SpinBox
being narrow.

This also makes the "step" SpinBox allow for more precise input.
2019-08-06 12:25:53 +02:00
Yuri Roubinski d0dc195da8 Some improvements to Mix visual shader function 2019-08-06 08:06:49 +03:00
Hugo Locurcio 8b12498f8b
Improve snapping in the animation editor
Snapping can now be toggled temporarily by holding the Ctrl key.
Toggling timeline snapping is now done with the "Snap" checkbox rather
than by setting the animation's "Step" setting to 0.

The timeline cursor can no longer exit the animation's boundaries
if the animation's "Step" is set to 0.
2019-08-06 01:44:10 +02:00
Rémi Verschelde fa35a73f0a
Merge pull request #31116 from sparkart/add_quit_shortcut
Add Shortcut Settings for Quitting Editor
2019-08-05 22:02:11 +02:00
Emmanuel Barroga 8e4ae09639 Add Shortcut Settings for Quitting Editor
Adds the ability to change the shortcut keys in Editor Settings for quitting the editor.
2019-08-05 11:53:42 -07:00
merumelu dcd551bf78 Remove Editor dependency from SceneTree 2019-08-05 19:46:23 +02:00
Rémi Verschelde 4d5534e2e8
Merge pull request #31081 from Calinou/animation-editor-larger-keyframes
Make keyframes easier to select in the animation editor
2019-08-05 16:44:39 +02:00
Yuri Roubinski 43ee35431e Fix opening of sub-resource properties in visual shaders 2019-08-05 17:13:02 +03:00
Rémi Verschelde 7c3805019d
Merge pull request #31085 from sparkart/fix_redundant_navpolygons
Fix Redundant Navigation Polygons
2019-08-05 09:43:35 +02:00
Rémi Verschelde 7d5ad99cde
Merge pull request #31063 from rzllmr/fix-tilemap-order
Fix row-column-swap in TileMap palette
2019-08-05 08:12:14 +02:00
Rémi Verschelde d9bba94d60
Merge pull request #31053 from aaronfranke/vector2i-cleanup
Some minor Vector2i usage cleanup
2019-08-05 08:08:57 +02:00
Rémi Verschelde 00efb61fbd
Merge pull request #31048 from Calinou/fix-gizmo-size-low-viewport-height
Fix 3D manipulator the gizmo growing too large on small viewports
2019-08-05 08:07:13 +02:00
Hugo Locurcio 1e4398c345
Improve light theme colors in the editor for better readability
This tweaks existing color conversions and adds new conversions
for animation track icon colors.
2019-08-05 01:53:45 +02:00
Emmanuel Barroga 6c83550dfc Fix Redundant Navigation Polygons
When adjusting the vertices of a navigation polygon, the tile editor would create a duplicate navigation polygon.  So each time you made an adjustment, another copy of the polygon would be created.
2019-08-04 16:09:57 -07:00
Hugo Locurcio 6e2c27f84f
Make keyframes easier to select in the animation easier
Keyframe SVG icons are now 10×10 instead of 8×8 (except for
Bezier-related icons). This makes them easier to select
since the empty space is part of the clickable area.

Selected keyframes are now also visually larger to make them
easier to distinguish from unselected keyframes.

This closes #27276.
2019-08-04 20:19:51 +02:00
Ignacio Etcheverry 0b94203a79 C#: Add Ide Connection library and server for the editor
This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
2019-08-04 01:57:53 +02:00
rzllmr 653039151a Fix row-column-swap in TileMap palette
Due to the TileSet coordinates using x for columns and y for rows, the
columns are assigned to the rows in the TileMap palette and distort the
order. Thus the default sorting algorithm prioritizing x is replaced
with a custom one prioritizing y.

Fixes #24751
2019-08-03 21:32:13 +02:00
Yuri Roubinski 8a0767d883 Return back spacer for non-expression nodes in visual shader 2019-08-03 18:54:04 +03:00
Aaron Franke 1a06496f45
Some Vector2i usage cleanup
Replace casting Vector2 -> Vector2i -> Vector2 with a simple call to .floor(), and some minor fixes.
2019-08-03 01:11:05 -07:00
Hugo Locurcio 20154d3b2a
Fix 3D manipulator the gizmo growing too large on small viewports
This closes #27112. This closes #19116.
2019-08-03 03:01:32 +02:00
Rémi Verschelde 045ab51ae5
Merge pull request #31033 from Chaosus/shader_button
Added link to docs for shader editor
2019-08-02 16:30:43 +02:00
Yuri Roubinski 770ce20ea3 Added link to docs for shader editor 2019-08-02 17:09:04 +03:00
Tomasz Chabora b1af799b16 Select found text in Script Editor 2019-08-02 15:00:26 +02:00
Rémi Verschelde 69e6dc9164
Merge pull request #31015 from Calinou/improve-gizmo-axis-colors
Improve the gizmo axis colors and increase the manipulator opacity
2019-08-02 11:22:27 +02:00
Rémi Verschelde 46986321c1
Merge pull request #31001 from KoBeWi/come_back_script
Add Reopen Closed Script option in Script Editor
2019-08-02 11:18:21 +02:00
Hugo Locurcio d57680cf34
Improve the gizmo axis colors and increase the manipulator opacity
The new colors should make it easier to see the manipulator gizmo.
Highlighted gizmos are now fully opaque (instead of being white),
keeping the color information while a gizmo is highlighted.

This also adds a setting hint for the manipulator gizmo opacity
editor setting.

Axis colors were taken from Blender 2.80.

This partially addresses #16154.
2019-08-01 14:30:35 +02:00
Tomasz Chabora 5718599bd2 Add Reopen Closed Script option in Script Editor 2019-08-01 13:32:30 +02:00
Rémi Verschelde 3a6102a6f7
Merge pull request #31010 from Chaosus/vs_fix_expression
Some visual fixes for Expression node in visual shaders
2019-08-01 10:50:33 +02:00
Chaosus 82e2efe591 Some visual fixes for Expression node 2019-08-01 11:03:23 +03:00
Rémi Verschelde b755cf1a2d
Merge pull request #31004 from Kanabenki/fix-undo-close-scene
Don't add unsaved scene to previous scenes list when closing a tab
2019-08-01 08:45:36 +02:00
Kanabenki 648313ab8a Don't add unsaved scene to previous scenes list 2019-07-31 23:49:16 +02:00
Chaosus 8b4c538ab2 Expose several GLES3 built-ins to GLES2 2019-07-31 19:00:10 +03:00
Chaosus f704506807 Implement copy/paste in visual shaders 2019-07-31 12:43:29 +03:00
Silvano Cerza d8dae84c9a Fixed remote scene tree not collapsing 2019-07-30 15:11:13 +02:00
Rémi Verschelde 7d76f3b393
Merge pull request #30944 from YeldhamDev/bottom_panel_icon_simplify
Make the expand icon in the bottom panel always be the same
2019-07-30 09:27:33 +02:00
Rémi Verschelde 9da24f7e3d
Merge pull request #30938 from nobuyukinyuu/2d-editor-zoom-p1
Changes default canvas_item_editor coarse zoom level from 1.5 to sqrt(2)
2019-07-30 00:57:43 +02:00
Rémi Verschelde ffab25c95a
Merge pull request #27952 from Kanabenki/undo-close-tab
Add Undo Close Tab option in tabs context menu
2019-07-30 00:26:48 +02:00
nobuyuki_nyuu 3f516622c3 Changes default coarse 2d zoom level from 1.5 to sqrt(2). 2019-07-29 17:12:03 -05:00
Michael Alexsander Silva Dias d6988b7d2b Make the expand icon in the bottom panel always be the same 2019-07-29 18:08:05 -03:00
Rémi Verschelde b697121d75
Merge pull request #30895 from clayjohn/gles2-shader-funcs
Added round function to gles2
2019-07-29 22:43:26 +02:00
Rémi Verschelde 10c015b730 i18n: Sync translation template with current source 2019-07-29 21:40:51 +02:00
Rémi Verschelde 1babc23d95 i18n: Sync translations with Weblate 2019-07-29 21:40:01 +02:00
clayjohn 3f25dde6b4 added round function to gles2 2019-07-29 11:17:08 -07:00
Rémi Verschelde 5d172d5d9a
Merge pull request #30918 from Chaosus/fix_crash
Fix filter crash in EditorFileDialog for MeshLib/TileSet conversion
2019-07-29 13:25:11 +02:00
Chaosus aec53acd7d Fix filter crash in EditorFileDialog for MeshLib/TileSet conversion 2019-07-29 13:43:08 +03:00
Rémi Verschelde 5ad1abed47
Merge pull request #30877 from JosephCatrambone/master
Bugfix GLTF import: Do not reindex when blend shapes are present.
2019-07-29 09:56:25 +02:00
Rémi Verschelde 698d87bdeb
Merge pull request #30879 from Calinou/simplify-font-editor-settings
Simplify editor settings related to font hinting and antialiasing
2019-07-29 09:55:08 +02:00
Bojidar Marinov 68b5f101c7
Make it so that 2D viewport does not pan while editing tilemaps
Fixes #30875
2019-07-28 17:00:05 +03:00
homer666 4553f2e6b8 Update "Sorting Order" dropdown in Editor Settings 2019-07-28 17:40:06 +10:00
Hugo Locurcio 6c374f91dd
Simplify editor settings related to font hinting and antialiasing
A single setting is now used to control the font hinting/antialiasing
settings of both main and code fonts. This means there are 2 settings
in total (instead of 4).

Font settings were also reordered for clarity.
2019-07-28 01:10:51 +02:00
Joseph Catrambone c2e91005ef Bugfix in GLTF import: Flipping boolean check. Reindexing should _NOT_ happen when blend shapes are present. 2019-07-27 14:34:54 -07:00
Kanabenki a8ac739a5e Add Undo Close Tab option in tabs context menu 2019-07-27 16:51:24 +02:00
Rémi Verschelde e4ec59b6ae
Merge pull request #30763 from Calinou/editor-add-version-info
Display version information in the editor at all times
2019-07-26 19:08:42 +02:00
Rémi Verschelde 39579d2a6d
Merge pull request #30839 from Calinou/simplify-dim-editor-settings
Simplify editor settings related to window dimming
2019-07-26 18:55:31 +02:00
Rémi Verschelde 67ce3f7424
Merge pull request #30846 from YeldhamDev/filediag_tooltip_changes
Small adjustments to tooltips in '(Editor)FileDialog'
2019-07-26 18:54:33 +02:00
Michael Alexsander Silva Dias e8fc875619 Small adjustments to tooltips in '(Editor)FileDialog' 2019-07-26 11:11:09 -03:00
Hugo Locurcio 6f6a9d9c09
Simplify editor settings related to window dimming
Only a single checkbox is now exposed to control whether the editor
window should be dimmed when opening a popup. The main use case
for disabling it is picking colors from the editor window while
a popup is open.
2019-07-26 15:29:04 +02:00
Emmanuel Barroga 2f2abadefe Fix Clearing Inspector for Remote Node
Resolves: #30731

When you stop debugging... if you were inspecting a remote node, partial information about the remote node remained in the inspector (e.g. name and warning).

To resolve this, called EditorNode::edit_current() instead of EditorInspector::edit(NULL), which will call all the methods required using "NULL" if the current selected object is NULL.

In EditorPath::update_path() if the selected object is NULL, it does not update the path to reflect this change, basically does nothing. To fix this, we nullify everything, before the history loop.
2019-07-25 22:10:49 -07:00
Aaron Franke 53d2a4e905 Snap transform gizmo values in the 3D editor
Snap to step size, and then also be careful to only display that many digits (to avoid numbers like 1.234001)
2019-07-25 19:40:35 -04:00
Hugo Locurcio dee9e9dc62
Display version information in the editor at all times
This closes #27811.
2019-07-25 21:05:36 +02:00
Paulb23 e51aa14208 Fix memory leaks with SyntaxHighlighters 2019-07-25 17:30:48 +01:00
Michael Alexsander Silva Dias 7f12618fdf Fix text position in the debugger's "Monitors" tab not being an integer 2019-07-25 11:02:17 -03:00
Rémi Verschelde 27d1e63dd4
Merge pull request #30807 from akien-mga/da-get_next-hidden
DirAccess: Drop compat get_next(bool *is_dir) which was hidden
2019-07-25 14:51:01 +02:00
Rémi Verschelde e9bff84ce3
Merge pull request #23820 from clayjohn/pointmesh
Added PointMesh primitive
2019-07-25 11:44:11 +02:00
Rémi Verschelde 43238bb59a DirAccess: Drop compat get_next(bool *is_dir) which was hidden
Fixes this warning:
```
./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual]
```

Part of #30790.
2019-07-25 11:09:57 +02:00
Rémi Verschelde 1481d299ea
Merge pull request #30776 from akien-mga/editor-configurable-float-step
Inspector: Make default float step configurable
2019-07-25 10:33:45 +02:00
Rémi Verschelde ffca740185
Merge pull request #30806 from akien-mga/fix-hint-sprite-frames
Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGE
2019-07-25 10:33:18 +02:00
Rémi Verschelde 336846e547 Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGE
This was a regression in 3.1 and later from the new inspector, where
PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to
be a normal PROPERTY_HINT_RANGE which also automatically increments its
value when keyed in the animation player.

To avoid code duplication, I made the frames properties use the actual
PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS
usage flag instead.
2019-07-25 09:29:51 +02:00
Rémi Verschelde b662bc65bf
Merge pull request #30796 from YeldhamDev/anim_undo_dict_duplicate
Fix undo problems with method and transform tracks in the animation editor
2019-07-25 08:36:37 +02:00
Michael Alexsander Silva Dias a2c4e4d6ff Center text in the debugger's "Monitors" tab 2019-07-24 21:52:47 -03:00
clayjohn ff7c37927a added pointMesh primitive 2019-07-24 12:14:31 -07:00
Michael Alexsander Silva Dias 3d9df3b2ed Fix undo problems with method and transform tracks in the animation editor 2019-07-24 11:29:51 -03:00
Rémi Verschelde adae2b0738
Merge pull request #30778 from YeldhamDev/anim_multi_key_edit
Make possible to edit multiple keys in an animation again
2019-07-24 08:39:30 +02:00
Rémi Verschelde c608b6f648
Merge pull request #23334 from malbach/align_sel_view
Add 'Move to view' and make 'Align to view' only align
2019-07-24 08:33:23 +02:00
Rémi Verschelde d844e30614 Inspector: Make default float step configurable
Also allow lifting the decimal step formatting with a hint range step
of 0. A new `range_step_decimals()` is added for this to avoid breaking
compatibility on the general purpose `step_decimals()` (which still
returns 0 for an input step of 0).

Supersedes #25470.
Partial fix for #18251.
2019-07-23 17:31:38 +02:00
Rémi Verschelde 06a6507751
Merge pull request #30772 from mbrlabs/view-distance
Increased max view distance in spatial editor plugin
2019-07-23 16:32:09 +02:00
malbach 4a218b9862 Add 'Align Rotation with View' to spatial editor 2019-07-23 15:14:03 +02:00
Rémi Verschelde 4c943cca2c
Merge pull request #30716 from qarmin/fixed_static_analiser_code
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 15:08:44 +02:00
Marcus Brummer 4c8fa414bb Increased max view distance in spatial editor plugin
Increased from 10000 to 1000000. I also removed two related magic numbers.
Closes #30766.
2019-07-23 11:42:41 +02:00
qarmin aab8da25ad Fix some code found by Coverity Scan and PVS Studio 2019-07-23 09:14:31 +02:00
Rémi Verschelde c7a427241e
Merge pull request #30735 from Zylann/project_manager_improvement
Project manager improvements
2019-07-23 08:41:42 +02:00
Michael Alexsander Silva Dias 9be52a5e0f Move "Open Screenshot" from the "Editor" menu to the editor settings 2019-07-23 02:05:29 -03:00
Michael Alexsander Silva Dias 97e18f03db Make possible to edit multiple keys in an animation again 2019-07-22 20:12:01 -03:00
Rémi Verschelde 66d09a6b4c SCons: Fix uses of [].append instead of env.add_source_files()
Also added support for SCons project-absolute paths (starting with #) and
warning about duplicates in add_source_files(), and fixed
default_controller_mappings.gen.cpp being included twice after first build
due to *.cpp globbing.

Part of #30270.
2019-07-22 15:08:32 +02:00
Rémi Verschelde 017b224a87
Merge pull request #30713 from bojidar-bg/30615-trackpad-2d-viewport
Improve touchpad support in 2d editor viewport
2019-07-22 14:06:28 +02:00
Rémi Verschelde 7b7c459106
Merge pull request #30749 from godotengine/revert-22642-inspector_metadata
Revert "Expose "meta" to the Inspector"
2019-07-22 12:23:19 +02:00
Rémi Verschelde 9f5b77acc9
Revert "Expose "meta" to the Inspector" 2019-07-22 12:03:57 +02:00
Rémi Verschelde a1b4568ba9
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels" 2019-07-22 11:56:41 +02:00
Marc Gilleron d3652887df Project manager improvements
- Faster launch time by loading icons in a coroutine
- Faster sorting, filtering, fav'ing etc
- Refactored project list with a proper structured class
2019-07-21 20:47:25 +01:00
Bojidar Marinov e37594824f
Improve touchpad support in 2d editor viewport
Implements ideas from #30615
2019-07-20 17:55:02 +03:00
Rémi Verschelde 7c11099587
Merge pull request #30703 from hbina/patch-1
Make comparison operator== const in EditorAutoloadSettings
2019-07-20 12:05:46 +02:00
Rémi Verschelde d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
Rémi Verschelde 3aeca70659
Merge pull request #30697 from bojidar-bg/6067-pale-customtype-script
Make custom types more subtle and more useful
2019-07-20 11:49:52 +02:00
qarmin 6cbaf7662f Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
Hanif A 4dc717ea07
Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
2019-07-19 21:52:30 -04:00
Rémi Verschelde e44041ae41
Merge pull request #30695 from YeldhamDev/big_text_focus
Make multiline text edit grab focus when popping up
2019-07-19 23:01:38 +02:00
Rémi Verschelde 0bf930c117
Merge pull request #30692 from qarmin/null_pointer_to_function
Don't allow to pass to _is_node_locked function NULL pointer
2019-07-19 22:04:33 +02:00
Bojidar Marinov 4f72178868
Make custom types more subtle and more useful
Implements #6067 (aaronfranke's idea)
Fixes #26980
2019-07-19 22:33:58 +03:00
Michael Alexsander Silva Dias df9c890022 Make multiline text edit grab focus when popping up 2019-07-19 14:32:23 -03:00
Rémi Verschelde c317a3ce16
Merge pull request #30354 from LikeLakers2/multinodeedit-same-type-properties
MultiNodeEdit now only shows properties with the exact same PropertyInfo data
2019-07-19 17:58:17 +02:00
qarmin ed84c9e506 Don't allow to pass to _is_node_locked function NULL pointer 2019-07-19 17:56:35 +02:00
Julian Murgia 249fdd9f80 Adds contextual item in scene tree dock to wrap selection in a new node
Fixes #20187
2019-07-19 16:46:13 +02:00
Rémi Verschelde 9384b6ab0e i18n: Sync translation template with current source
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde 0d779e7777 i18n: Sync translations with Weblate 2019-07-19 15:45:00 +02:00
Rémi Verschelde 21a2cd1a04
Merge pull request #23270 from silvanocerza/remote_scene_tree_filter
Implemented remote scene tree filtering
2019-07-19 15:38:07 +02:00
Rémi Verschelde 2ca3e47d66
Merge pull request #22642 from YeldhamDev/inspector_metadata
Expose "meta" to the Inspector
2019-07-19 14:39:23 +02:00
Rémi Verschelde 40dec55916
Merge pull request #30600 from vortexofdoom/dualshock_joypad
Added DualShock Equivalents to Joypad Button 10 and 11
2019-07-19 09:00:42 +02:00
Rémi Verschelde 41500db735
Merge pull request #30686 from Calinou/enable-auto-brace-complete
Enable the script editor's "Auto Brace Complete" by default
2019-07-19 08:54:07 +02:00
Hugo Locurcio 755689b0e9
Enable the script editor's "Auto Brace Complete" by default
This also adds a setting hint for the "Code Complete Delay" setting
and cleans up some duplicated default setting values.

This closes #30662.
2019-07-18 21:42:10 +02:00
Hugo Locurcio ddf83d93b3
Improve preview and screenshot display in the asset library
Images are now resized with Lanczos interpolation for higher quality.
Video thumbnails now display a "pointing hand" cursor when hovered
as they will open in an external browser.
2019-07-18 20:10:30 +02:00
Michael Alexsander Silva Dias 19d261336b Minor improvements to the AssetLib 2019-07-17 12:35:57 -03:00
Rémi Verschelde 96cbbffac7
Merge pull request #30608 from sparkart/fix-script-not-clearing-when-renamed
Fix losing scene modifications when renaming file
2019-07-17 11:09:34 +02:00
Cameron Reikes d4bed7586d Lower priority of anchor helper input
- Fixes #30132
2019-07-16 11:33:40 -07:00
Rémi Verschelde 22c843b0c4
Merge pull request #30602 from n-k-chilagani/first_time
Fixed Make 3D viewport locked nodes unselectable as in 2D viewport
2019-07-16 11:35:16 +02:00
Nikhil Kumar 600c153076 Fixed Make 3D viewport locked nodes unselectable as in 2D viewport #29903 2019-07-16 14:19:20 +05:30
Rémi Verschelde 0ad6a1c66e
Merge pull request #30561 from Calinou/2d-guides-use-resize-cursors
Use resize cursors when hovering or dragging guides in the 2D editor
2019-07-16 08:54:04 +02:00
Rémi Verschelde 58d0fb1254
Merge pull request #30579 from NilsIrl/from_if_to_switch
Use switch instead of if statement in editor_node.cpp
2019-07-16 08:48:34 +02:00
Emmanuel Barroga 2350af5e70 Fix losing scene modifications when renaming file
Closes: #30436

When renaming/moving a file in the filesystem docker, changes on a scene that has dependencies on the file being renamed/moved are lost.

To resolve this, this patch saves the scenes that depend on the file first, to save its current state.
2019-07-15 20:50:03 -07:00
Daniel Larson ba6fbe5fa7 Added DualShock Equivalents to Joypad Button 10 and 11 2019-07-15 11:56:41 -05:00
Nils ANDRÉ-CHANG 7a1b399df2 Use switch instead of if statement 2019-07-15 17:21:34 +01:00
Rémi Verschelde 5d962f8baf
Merge pull request #30583 from hbina/fix_crash_issue_30493
Fix crashing when changing Node type.
2019-07-15 16:41:55 +02:00
unknown c5d4bd9e34 Fixed editor_doc properties font alignment bug 2019-07-15 19:18:51 +05:30
hbina085 e9c1e5aa7c Fix crash when changing Node type
Prevent the application from crashing by simply checking if current "selection" is not null before accessing it.
Fixes #30493
2019-07-15 09:17:14 -04:00
Hugo Locurcio 0fb80d7b0f
Use resize cursors when hovering or dragging guides in the 2D editor
This also tweaks the casing in undo/redo action names for consistency.

This closes #30550.

Co-authored-by: Emmanuel Barroga <emmanuelbarroga@gmail.com>
2019-07-15 14:24:45 +02:00
Rémi Verschelde 7e27da54d8
Merge pull request #30516 from kawa-yoiko/editor-settings-search
Improvements on searching in the settings dialog
2019-07-15 11:22:02 +02:00
Rémi Verschelde 58fd123f45
Merge pull request #30581 from KoBeWi/tiled_shorts
Add tilemap editor rotation hotkeys
2019-07-15 11:02:40 +02:00
Rémi Verschelde 12c6e0e497
Merge pull request #30569 from Calinou/remove-unused-vulkan-icon
Remove unused Vulkan icon
2019-07-15 08:21:08 +02:00
Rémi Verschelde 1db3d987b2
Merge pull request #30565 from bojidar-bg/27468-region-editor-in-the-way
Fix TextureRegionEditorPlugin popping up even when explicitly hidden
2019-07-15 08:17:24 +02:00
Rémi Verschelde 158feb4194
Merge pull request #30544 from bojidar-bg/30537-huge-default-values
Fix huge multiline default values being generated
2019-07-15 08:16:43 +02:00
Rémi Verschelde 0471e4d578
Merge pull request #30543 from kawa-yoiko/editor-script-typecheck
Fix potential crash caused by type mismatch in Ref
2019-07-15 08:01:06 +02:00
Rémi Verschelde 23f5154de7
Merge pull request #30532 from Chaosus/vs_triplanar
Added triplanar uniform texture node to visual shaders
2019-07-15 07:56:06 +02:00
Chaosus e82b5e910a Better boolean indication in visual shaders 2019-07-15 08:31:51 +03:00
Tomasz Chabora 38d9434098 Add tilemap editor rotation hotkeys 2019-07-14 15:46:47 +02:00
Hugo Locurcio 0aaf6cb87c
Remove unused Vulkan icon
This icon was likely added to be used in the renderer selection
dropdown, but now that the GLES2 and GLES3 icons have been removed
in favor of just using text, it'll probably never be used.
2019-07-13 23:22:01 +02:00
Bojidar Marinov b648d3e110
Fix TextureRegionEditorPlugin popping up even when explicitly hidden
Fixes #27468
2019-07-13 21:55:32 +03:00
Bojidar Marinov f451a40282
Fix huge multiline default values being generated 2019-07-12 21:17:12 +03:00
Shiqing dd1589b2bc Fix potential crash caused by type mismatch in Ref 2019-07-12 23:53:07 +08:00
Chaosus d56fc13cad Highlight GLES3 functions in the visual shader member panel 2019-07-12 17:58:13 +03:00
Shiqing b5b1a56c04 Fixes and improvements in settings search 2019-07-12 22:20:06 +08:00