Commit graph

22470 commits

Author SHA1 Message Date
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
Rémi Verschelde d483a85a0f
Merge pull request #30829 from santouits/shadow-local
fix getting correct mingw-w64 version
2019-07-26 00:01:06 +02:00
Rémi Verschelde b6ab5b5e2b
Merge pull request #30823 from Paulb23/issue_29500_syntax_highlighter_leak
Fix memory leaks with SyntaxHighlighters
2019-07-25 23:12:35 +02:00
santouits 21297a533e fix getting correct mingw-w64 version
When checking mingw-w64 version, at least on debian, the regex being used returned 86 because the name of the binary in debian starts with x86_64-w64 so we use the dumpversion option that gcc has. This fixes not compiling because gcc versions < 7 don't have some checks like shadow-local
2019-07-26 00:04:16 +03:00
Ignacio Roldán Etcheverry 3a68b24171
Merge pull request #30820 from neikeq/issue-28394
Mono: Don't try to update project assemblies from project manager
2019-07-25 19:00:10 +02:00
Paulb23 e51aa14208 Fix memory leaks with SyntaxHighlighters 2019-07-25 17:30:48 +01:00
Ignacio Etcheverry c9befa63d2 Mono: Don't try to update project assemblies from project manager
Previously, when running the project manager, we would try to load the API assemblies from the project and fail because we were not editing any project. This would make us try to copy the prebuilt API assemblies to the project. Since there is no project, it would try to copy them to the executable location. This would fail if Godot doesn't have permissions to write to that location.
This commit fixes that by instead trying to load the prebuilt API assemblies in the first place, if running the project manager.
2019-07-25 17:52:45 +02:00
Rémi Verschelde eb16c9830b
Merge pull request #30817 from YeldhamDev/body_warning_fix
Fix wrong placement of new line in 'PhysicsBody' warning
2019-07-25 17:43:18 +02:00
Michael Alexsander Silva Dias 4ff360b73b Fix wrong placement of new line in 'PhysicsBody' warning 2019-07-25 11:53:54 -03:00
Rémi Verschelde 510bb3789e
Merge pull request #30815 from YeldhamDev/debugger_monitor_text_integer
Fix text position in the debugger's "Monitors" tab not being an integer
2019-07-25 16:47:52 +02:00
Rémi Verschelde 1a33ef31a7
Merge pull request #30814 from StraToN/makerst-add-meta-gh-hide
Adds a meta on top of every generated class to hide Edit on Github link
2019-07-25 16:44:13 +02: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
StraToN d83b8881ae Adds a meta on top of every generated class to hide 'Edit on Github' link
Linked docs issue https://github.com/godotengine/godot-docs/pull/2656
2019-07-25 15:57:43 +02:00
Rémi Verschelde 4c74f50d1a
Merge pull request #30351 from bojidar-bg/30288-override-global-theme
Keep track of default theme and project custom default theme seperatelly
2019-07-25 14:54:27 +02: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 7d1dd54d8b
Merge pull request #30810 from Xrayez/doc-kinematic-test-only
Make KinematicBody docs consistent regarding `test_only` argument
2019-07-25 14:32:24 +02:00
Andrii Doroshenko (Xrayez) 8ba50823c4 Make KinematicBody docs consistent regarding test_only argument
This simply makes the `move_and_collide` method descriptions in
both 2D and 3D to be in sync.

Co-authored-by: 2DemiGods <2DemiGods@users.noreply.github.com>
2019-07-25 15:09:25 +03:00
Rémi Verschelde ffc8fb9c48
Merge pull request #30685 from jonri/vehicle-per-wheel-forces
Vehicle per-wheel forces
2019-07-25 11:45:22 +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 5a5322ca06
Merge pull request #30792 from KoBeWi/releasent
Don't release action if it's not pressed
2019-07-25 09:18:33 +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
Rémi Verschelde 6c21ce7367
Merge pull request #30803 from YeldhamDev/debugger_monitor_text_center
Center text in the debugger's "Monitors" tab
2019-07-25 08:32:28 +02:00
Rémi Verschelde eb300ba8fe
Merge pull request #30799 from guilhermefelipecgs/fix_30795
Fix crash when using custom cursor
2019-07-25 07:21:44 +02:00
Michael Alexsander Silva Dias a2c4e4d6ff Center text in the debugger's "Monitors" tab 2019-07-24 21:52:47 -03:00
Ignacio Roldán Etcheverry ad0d87b4dd
Merge pull request #30802 from neikeq/exc-policy-and-issue-30519
Unhandled exception policy and fix external editors on Windows
2019-07-25 00:24:35 +02:00
Ignacio Etcheverry c0cdbb7938 Mono: Fix regression: external editors not working on Windows 2019-07-24 23:19:24 +02:00
Ignacio Etcheverry 513cc78f85 Mono: Add option to keep running after unhandled exceptions
By default, an unhandled exception will cause the application to be terminated; but the project setting `mono/unhandled_exception_policy` was added to change this behaviour.
The editor is hard-coded to never terminate because of unhandled exceptions, as that would make writing editor plugins a painful task, and we cannot kill the editor because of a mistake in a thirdparty plugin.
2019-07-24 23:19:15 +02:00
clayjohn ff7c37927a added pointMesh primitive 2019-07-24 12:14:31 -07:00
Guilherme Felipe c3f69c6c76 Fix crash caused by a9a0d0fb15 2019-07-24 15:01:28 -03:00
Tomasz Chabora bd5b73108f Don't release action if it's not pressed 2019-07-24 18:18:03 +02: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 aa062c54fc
Merge pull request #25090 from Chaosus/string_count
Added String.count method
2019-07-24 08:32:42 +02:00
Rémi Verschelde 3cbd4337ce
Merge pull request #30786 from YeldhamDev/update_dead_links
Update some dead links in the codebase
2019-07-24 07:24:00 +02:00
Michael Alexsander Silva Dias 12ae7a4c02 Update some dead links in the codebase 2019-07-23 21:06:12 -03:00
Chaosus 080c0bb7fe Added count method to String 2019-07-23 18:55:54 +03: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
Rémi Verschelde 280c9a3212
Merge pull request #30771 from YeldhamDev/open_screenshot_editor_settings
Move "Open Screenshot" from the "Editor" menu to the editor settings
2019-07-23 08:33:50 +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