Commit graph

20361 commits

Author SHA1 Message Date
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
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
Fabio Alessandrelli 0bcf0314f7 Fix jump over uninitialized value in OS Unix/X11 2019-04-09 15:12:55 +02:00
Rémi Verschelde 3da2894d82 FS dock: Allow deselecting items by clicking empty space
Fixes #27546.
2019-04-09 14:54:41 +02:00
Bojidar Marinov 11e62cdc79
Do not YSort canvas items that are not visible
Fixes an issue with nested YSorts not regarding visibility
2019-04-09 15:49:38 +03:00
Rémi Verschelde 846e7bbc53
Merge pull request #27490 from bruvzg/macos_non_resizable_fullscreen
Allow non-resizeable windows to enter full-screen mode.
2019-04-09 12:30:17 +02:00
Rémi Verschelde def6655964
Merge pull request #27553 from ShyRed/sprite2polygon
Add Sprite to CollisionPolygon2D and LightOccluder2D converter
2019-04-09 12:14:58 +02:00
Rémi Verschelde 70a009833b
Merge pull request #27561 from KoBeWi/get_frame_doc
Document SceneTree.get_frame() and persistent in add_to_group()
2019-04-09 12:10:48 +02:00
Rémi Verschelde 5062b4a26b Fix condition in editor icons filtering logic
Fixes #27595.
2019-04-09 10:37:35 +02:00
Rémi Verschelde e3b26b0d68
Merge pull request #27591 from toasteater/doc/rng-impl-notes
Improve RandomNumberGenerator docs.
2019-04-09 10:28:44 +02:00
Juan Linietsky 3474e1586d Changes to to feature profile editor
Changed "Disable Editor" to "Contextual Editor Enabled"
Do not show contextual editors for disabled classes.
2019-04-08 20:20:20 -03:00
Juan Linietsky a20235aeb0 Add ability to edit editor feature profiles
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Ignacio Roldán Etcheverry 9ab17b664d
Merge pull request #27809 from neikeq/github-pls
Workaround for syntax highlighting issue in GitHub
2019-04-08 22:13:13 +02:00
PouleyKetchoupp dafd7768ab Fixed uninitialized xfade in AnimationNodeTransition 2019-04-08 17:13:30 +02:00
Guilherme Felipe 6ab1ed5763 Change font of audio notches to default font 2019-04-08 11:14:37 -03:00
Ignacio Etcheverry 7a4cf6339d Workaround for syntax highlighting issue in GitHub 2019-04-08 14:52:01 +02:00