Commit graph

4798 commits

Author SHA1 Message Date
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
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
Rémi Verschelde 584ca0f156
Merge pull request #30466 from Chaosus/vs_boolean_funcs
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:20:44 +02:00
Chaosus 9d6e1e3109 Added "Is" and "Compare" functions to visual shaders 2019-07-12 13:43:37 +03:00