Commit graph

4728 commits

Author SHA1 Message Date
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