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
Rémi Verschelde
9f5b77acc9
Revert "Expose "meta" to the Inspector"
2019-07-22 12:03:57 +02:00
Rémi Verschelde
4b1ec08bc3
Merge pull request #30726 from GodotExplorer/revert-30657-optimize_dir_access_unix_get_next
...
Revert "Optimize DirAccessUnix::get_next() for some file systems"
2019-07-22 11:59:09 +02:00
Rémi Verschelde
a1b4568ba9
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels"
2019-07-22 11:56:41 +02:00
Rémi Verschelde
ad616feda2
Merge pull request #30659 from henriiquecampos/docs
...
Add description for EditorSceneImporter, EditorPlugin.enable/disable and EditorInterface.select_file
2019-07-22 11:41:41 +02:00
Rémi Verschelde
411c49b2ab
Merge pull request #30717 from akien-mga/zstd-1.4.1
...
zstd: Update to upstream version 1.4.1
2019-07-22 11:02:56 +02:00
Rémi Verschelde
e448fdad15
Merge pull request #30720 from Calinou/doc-improve-variant
...
Improve the Variant class documentation
2019-07-22 10:22:16 +02:00
Rémi Verschelde
92b65ff0c6
Merge pull request #30740 from neikeq/typeinfo_static_fail
...
Make it a build error if a GetTypeInfo specialization cannot be resolved
2019-07-22 08:57:09 +02:00
Rémi Verschelde
f551457e12
Merge pull request #30741 from neikeq/fix-not-updating-editor-api-assembly
...
Mono: Fix editor API assembly not being updated
2019-07-22 08:56:55 +02:00
clayjohn
150487e728
fix gles2 shadow transparency bug
2019-07-21 23:52:19 -07:00
Ignacio Etcheverry
0197d86ab4
Mono: Fix editor API assembly not being updated
...
If both the core and editor API assemblies are missing or out of sync, Godot will only update the former and then abort when trying to load them again because the latter was not updated. Godot will update it correctly the next time it's started, but this should not be needed and it should work the first time. This commit fixes that.
2019-07-22 00:16:24 +02:00
Ignacio Etcheverry
2c85439da0
Make it a build error if a GetTypeInfo specialization cannot be resolved
...
Previously it was a runtime error message.
2019-07-22 00:08:35 +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
Hugo Locurcio
b1e382178c
Disable high-quality voxel cone tracing by default
...
This makes GIProbe significantly faster out of the box, at the cost
of worse-looking GIProbe reflections.
This closes #30727 .
2019-07-21 17:39:03 +02:00
Geequlim
ee9f46423b
Revert "Optimize DirAccessUnix::get_next() for some file systems"
2019-07-21 11:48:53 +08:00
Hugo Locurcio
4840d36654
Improve the Variant class documentation
...
Taken from
https://docs.godotengine.org/en/latest/development/cpp/variant_class.html .
2019-07-20 23:42:26 +02:00
Rémi Verschelde
b81fa47f38
zstd: Update to upstream version 1.4.1
2019-07-20 20:47:07 +02:00
Bojidar Marinov
e37594824f
Improve touchpad support in 2d editor viewport
...
Implements ideas from #30615
2019-07-20 17:55:02 +03:00
Ignacio Roldán Etcheverry
4379395892
Merge pull request #30710 from neikeq/issue-30526
...
Fix mono module build errors for release templates
2019-07-20 16:20:49 +02:00