Commit Graph

22548 Commits

Author SHA1 Message Date
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
Chaosus bf237f651c Added direction_to to GDNative 2019-07-24 11:16:20 +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
Rémi Verschelde 0381ff35aa
Merge pull request #30764 from clayjohn/contact-shadow
Fix contact shadows appearing when shading casting is off
2019-07-23 07:02:38 +02:00
Michael Alexsander Silva Dias 97e18f03db Make possible to edit multiple keys in an animation again 2019-07-22 20:12:01 -03:00
clayjohn b1839e5e85 fix contact shadows appearing when shading casting is off 2019-07-22 15:03:51 -07:00
Rémi Verschelde b62b8ccf94
Merge pull request #30732 from Calinou/default-disable-high-quality-vct
Disable high-quality voxel cone tracing by default
2019-07-22 23:18:06 +02:00
Rémi Verschelde bcfbd25eef
Merge pull request #30728 from FlamyAT/fix-inputevent-doc
Documents the need for input_pickable in _input_event
2019-07-22 21:37:58 +02:00
Rémi Verschelde d8d85762c4
Merge pull request #30753 from Calinou/make-header-run-from-any-location
Make `make_header.py` functional when run from any location
2019-07-22 21:37:25 +02:00
Rémi Verschelde a36e09f398
Merge pull request #30759 from akien-mga/ios-camera-type-mismatch
Fix type mismatch in iOS interface orientation checks
2019-07-22 21:11:02 +02:00
Rémi Verschelde 77724fde60 Fix type mismatch in iOS interface orientation checks
Not sure why this error popped up when I enabled C++11 on the codebase,
but I guess this should fix it.
2019-07-22 20:31:15 +02:00
Rémi Verschelde 5dae2ea777 SCons: Enable C++11 on the whole codebase
**Important:** This does not mean *yet* that C++11 features should be used
in contributions to Godot's codebase.

For now this change is done solely for feature branches working on Vulkan
support and GDScript typed instruction sets for Godot 4.0, which will both
use C++11 features and are based on the master branch.

The plan is to start porting the codebase to C++11 after Godot 3.2 is
released, following upcoming guidelines on the subset of new features that
should be used, and when/how to use them.

We will advertise clearly when C++11 contributions are open, especially
once we start a coordinated effort to port Godot's massive codebase. In the
meantime, please bear with us and good ol' C++03. :)
2019-07-22 17:17:30 +02:00
Rémi Verschelde f03c1c8d4f
Merge pull request #30752 from akien-mga/scons-fix-add_source_files
SCons: Fix uses of [].append instead of env.add_source_files()
2019-07-22 15:34:04 +02:00
FlamyAT 9a84cef4fc Documents the need for input_pickable in _input_event
Update CollisionObject2D.xml

Added member tags to missing docs
2019-07-22 15:12:49 +02: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
Hugo Locurcio 31eb116d49
Make `make_header.py` functional when run from any location
This removes the need to `cd` to `scene/resources/default_theme/`
to get the expected result.
2019-07-22 14:02:33 +02:00
Rémi Verschelde 5bb8334e97
Merge pull request #30751 from akien-mga/emscripten-binaryen-trap-mode
Emscripten: Do not define BINARYEN_TRAP_MODE='clamp'
2019-07-22 14:01:48 +02:00
Rémi Verschelde 6b19da583d
Merge pull request #30745 from clayjohn/gles2-shadow-transparency
Fix GLES2 shadow transparency bug
2019-07-22 13:23:36 +02:00
Rémi Verschelde 63544e6b02 Emscripten: Do not define BINARYEN_TRAP_MODE='clamp'
It is not supported in Emscripten's `latest-upstream` LLVM backend,
and doesn't seem necessary in the `latest` backend either.
It was initially added in #22857 to solve a compilation error with the latter.

Part of #30270.
2019-07-22 13:21:56 +02:00
Rémi Verschelde 16288cabc0 doc: More formatting fixes 2019-07-22 12:41:41 +02:00
Rémi Verschelde 5b20b49bf7 doc: Formatting fixes in EditorPlugin docs 2019-07-22 12:37:33 +02:00
Rémi Verschelde 07e289963c doc: Sync classref with current source 2019-07-22 12:27:52 +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 5f243b0a74
Merge pull request #30748 from godotengine/revert-26205-spatialmaterial-use-packed-channels
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels"
2019-07-22 12:23:07 +02:00