Commit graph

20375 commits

Author SHA1 Message Date
Michael Alexsander Silva Dias 70499faff8 Document String's 'is_valid_filename()' 2019-04-11 21:48:40 -03:00
Michael Alexsander Silva Dias d2a7624687 Fix position of tile names in TileSet editor when zooming in/out
Fixes #27713.
2019-04-11 19:03:03 -03:00
Rémi Verschelde da65d54649
Merge pull request #27867 from bojidar-bg/27489-as-self-fail
Fix as operator generating opcode 38 errors
2019-04-11 23:23:35 +02:00
Leonard Meagher 28b902211f CSGMesh material and CSGShape inherits from GeometryInstance
I left the material on CSGMesh because GeometryInstance's material override prevents the normal material behaviour of the csg meshes

but the material_override is useful, and now you can control the shadow, lod and other properties you get from GeometryInstance
2019-04-11 13:20:09 -07:00
Tomasz Chabora de4877e1fc Added some documentation for Slider 2019-04-11 22:17:26 +02:00
Juan Linietsky c1dcdf6109 No more metadata and dependency indices kept in resources saved.
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
2019-04-11 14:36:58 -03:00
Rémi Verschelde abb8e97122
Merge pull request #27929 from akien-mga/vhacd-cleanup
vhacd: Properly identify downstream changes, fix MinGW build issue
2019-04-11 19:25:27 +02:00
Rémi Verschelde 74ab31b7f7 vhacd: Fix -fpermissive build issue with MinGW
Fixes #27926.
2019-04-11 18:20:33 +02:00
Rémi Verschelde 668439d16a vhacd: Reapply downstream changes to namespace conflicting bullet code
Also adding a patch to easily identify and reapply them.
2019-04-11 18:20:32 +02:00
Rémi Verschelde 531b158897 vhacd: Recommit unmodified upstream code without style changes
Godot-specific changes will then be redone without touching upstream formatting.
Also documented current state in thirdparty/README.md and added LICENSE.

Add vhacd to COPYRIGHT.txt.
2019-04-11 18:11:59 +02:00
yakun.zhang e5f531620e Fix collider debug shape didn't changes with collider size changes 2019-04-11 23:31:55 +08:00
Rémi Verschelde edc9097bc1
Merge pull request #27899 from KoBeWi/tree_focus
Focus SceneTree dock after creating new node
2019-04-11 15:53:10 +02:00
Rémi Verschelde 7f2ad8bd3f
Merge pull request #27915 from WindyDarian/msvc_force_utf8_source_encoding
Force utf-8 source file encoding in MSVC
2019-04-11 10:32:19 +02:00
Rémi Verschelde 10c7742df3
Merge pull request #27876 from vnen/gdscript-no-builtin-name
Don't allow built-in scripts to use class_name
2019-04-11 09:43:23 +02:00
Rémi Verschelde 2feec990e7
Merge pull request #27887 from godotengine/AndreaCatania-patch-1
Added No bone set state in the IK
2019-04-11 09:42:56 +02:00
Rémi Verschelde 2ddb41a5d8
Merge pull request #27894 from nekomatata/fix-particle-errors
EditorFolding ignores hidden properties for folded resources
2019-04-11 09:42:10 +02:00
Rémi Verschelde 2d67eaf2c3
Merge pull request #27917 from volzhs/init_autorestart_random_delay
Set initial value for autorestart_random_delay of AnimationNodeOneShot
2019-04-11 09:35:23 +02:00
Rémi Verschelde 9c514c2606
Merge pull request #27895 from nekomatata/fix-animation-tree-error
Fix caches_cleared signal discrepancies in AnimationTree
2019-04-11 09:33:33 +02:00
Rémi Verschelde f705fc5a98
Merge pull request #27916 from WindyDarian/vhacd_namespace_placing
Fixes for vhacd module
2019-04-11 09:01:15 +02:00
Rémi Verschelde 0e7f116b52
Merge pull request #27902 from Calinou/decrease-tooltip-delay
Decrease the default tooltip delay to 0.5 seconds
2019-04-11 08:46:30 +02:00
volzhs eea3bddd1d Set initial value for autorestart_random_delay of AnimationNodeOneShot 2019-04-11 14:56:38 +09:00
Windy Darian 6c90aaf5c7 Use c++11 for vhacd because VHACD-ASYNC.cpp wants it 2019-04-11 00:05:11 -04:00
Windy Darian f05af9d492 fix vhacd namespace placing in thirdparty/vhacd/src/btConvexHullComputer.cpp 2019-04-10 23:45:26 -04:00
Windy Darian ff3fdabc52 Force utf-8 source file encoding in MSVC
On Windows, when "Language for non-Unicode programs" were set to "Japanese (Japan)", MSVC would by default use Shift JIS (code page 932) to interpret source files, which would result in test_string failing to compile because of characters in `test_34()`. Forcing utf-8 for MSVC fixes the issue
2019-04-10 23:01:05 -04:00
George Marques e56f5d5c91
GDScript: Don't allow built-in scripts to use class_name 2019-04-10 18:05:34 -03:00
Juan Linietsky 5823b5d77d Bundled VHACD library for convex decomposition.
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Hugo Locurcio 73ad31c0fa
Decrease the default tooltip delay to 0.5 seconds
This matches other applications' and OS' tooltip behaviors
more closely.
2019-04-10 19:45:29 +02:00
Rémi Verschelde 07b76c0376
Merge pull request #27170 from timoschwarzer/allow-whitespaces-in-warning-ignore-comments
Allow whitespaces in warning-ignore comments
2019-04-10 18:16:10 +02:00
Juan Linietsky e33764744c Added generator audio stream, and spectrum analyzer audio effect
Made AudioFrame and Vector2 equivalent for casting.
Added ability to obtain the playback object from stream players.
Added ability to obtain effect instance from audio server.
2019-04-10 12:58:06 -03:00
Tomasz Chabora 9432e06e05 Focus SceneTree dock after creating new node 2019-04-10 17:01:42 +02:00
PouleyKetchoupp 66e07a2ec6 Fixes caches_cleared signal discrepancies in AnimationTree (fixes #25460) 2019-04-10 16:25:18 +02:00
Bojidar Marinov ece09f9872
Check for subclasses when checking for name clashes
Fixes #27460
2019-04-10 13:19:30 +03:00
Bojidar Marinov f04f127680
Fix as operator generating opcode 38 errors
Closes #27489
Fixup of 466a76ac2c

Additionally, update `GDScriptCompiler` test to use Ref and to include `as` expressions.
2019-04-10 13:18:50 +03:00
PouleyKetchoupp 790a78273f EditorFolding ignores hidden properties for folded resources (fixes #26663) 2019-04-10 12:11:14 +02:00
Hein-Pieter van Braam f75b9e6246
Merge pull request #27815 from Faless/unix/mem_access
Fix jump over uninitialized value in OS Unix/X11
2019-04-10 11:06:37 +02:00
Andrea Catania f65fde73da
Added No bone set state in the IK
The problem is that initially the root bone was not set, and you didn't know that because the "no set" state was missing. Now I've added it. https://github.com/godotengine/godot-docs/issues/2333
2019-04-10 07:50:09 +02:00
mawenzy e2e8457ca6 Fix #24124, Slider control size 2019-04-09 21:58:19 +02:00
Hugo Locurcio 156faf535c
Make 3D snapping finer when holding Shift
This also changes the default rotation and scale snapping increments
to better make use of fine snapping possibilities.
2019-04-09 17:57:19 +02:00
Rémi Verschelde 5772f60f96
Merge pull request #27843 from bojidar-bg/27678-ysort-visibility
Do not YSort canvas items that are not visible
2019-04-09 17:15:27 +02:00
Rémi Verschelde c8994b56f9 Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Rémi Verschelde 4b2c79c471
Merge pull request #27806 from JFonS/fix_27690
Fix hint_range for GLES2 shader uniforms
2019-04-09 17:09:27 +02:00
Rémi Verschelde 444fa4c1c8
Merge pull request #27853 from akien-mga/classref-tooltip
Fix TTR string for class reference tooltip
2019-04-09 17:01:11 +02:00
Rémi Verschelde eb4bdedcc6
Merge pull request #27846 from BastiaanOlij/fix_mobile_vr
Added eye_height, changed description and fixed size of viewport issue
2019-04-09 17:00:59 +02:00
Bastiaan Olij e0b703e3fe Added eye_height, changed description and fixed size of viewport issue 2019-04-10 01:11:17 +10:00
Ryan Roden-Corrent 584288a32c
Fill out some of the AnimationNode docs.
The API docs for various animation nodes are pretty empty, yet the
tutorial at
https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html
contains some details.

These details should be included in the API docs so looking up a
particular class actually provides some information rather than
requiring the user to hunt for a different tutorial.

This also links the AnimationTree tutorial and demo in the docs.
I've found the TPS demo to be the best resource so far for learning
how to use the AnimationTree. This should be easy to find if someone
looks up the AnimationTree API docs.

Finally, this fixes a param typo in AnimationNodeStateMachine.
2019-04-09 10:49:21 -04:00
Rémi Verschelde 8fb54ef19b
Merge pull request #27814 from nekomatata/transition-node-xfade
Fixed uninitialized xfade in AnimationNodeTransition
2019-04-09 16:46:51 +02:00
K. S. Ernest (iFire) Lee cc72bc6713 Update Assimp to master at d3d98a7ec0c8d38e1952b46dfe53f7e9233dc92d
* ASCII FBX embedded content
* Improved uv scaling metadata
2019-04-09 07:42:31 -07:00
Rémi Verschelde bde77dc0b4
Merge pull request #27838 from akien-mga/Wlogical-op
Fix condition in editor icons filtering logic
2019-04-09 16:24:30 +02:00
Rémi Verschelde 38104bb89d Fix TTR string for class reference tooltip
Fixes #27852.
2019-04-09 16:06:39 +02:00
Rémi Verschelde 003e977cd5
Merge pull request #27844 from akien-mga/fs-dock-deselect
FS dock: Allow deselecting items by clicking empty space
2019-04-09 15:52:11 +02:00