Poommetee Ketson
aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
...
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Juan Linietsky
19b1ff0fc5
Disabled filter clip by default and made it optional, fixes #12368 , likely others too
2017-11-10 09:22:25 -03:00
letheed
482e07af7e
Unify degree members and properties
2017-11-10 12:52:07 +01:00
letheed
ab2647a0d0
Remove deprecated rotation methods
2017-11-10 09:09:30 +01:00
Juan Linietsky
192a4d7de5
Reworked how servers preallocate RIDs, should fix #10970
2017-11-09 23:35:34 -03:00
Rémi Verschelde
24b3733f3b
Merge pull request #10770 from RandomShaper/fix-joints
...
Fix joints collision exceptions, plus a bit more
2017-10-31 23:02:37 +01:00
Cédric Fuchs
c42bbe1073
Fixes infinite loop in NavPolygonInstance warnings
2017-10-26 13:02:04 +02:00
Jakub Grzesik
8f054d519f
missing set/get_collision_mask_bit() for RayCast
...
in the same fastion how it's implemented in Area or Bodies
2017-10-23 14:31:58 +02:00
Rémi Verschelde
01a5a8b86c
Merge pull request #12291 from RandomShaper/fix-raycast-naming
...
Rename RayCasts collision_layer to collision_mask
2017-10-21 23:44:46 +02:00
Pedro J. Estébanez
7b12ae39f2
Rename RayCasts collision_layer to collision_mask
...
The point is that `RayCast`s are checked against objects' `collision_layer`(s), but they themselves are considered no to _belong_ to any layer. Therefore, the correct name for their property is `collision_mask`, rather than `collision_layer`.
Only renaming is needed since the behavior was already the right one, only that it wasn't matching what users would expect from the name and description of the property.
Fixes #7589 , where it's also discussed.
2017-10-21 22:17:47 +02:00
Poommetee Ketson
9cadb9e5f3
Bind unbound enums, rearrange some by value
2017-10-22 01:58:02 +07:00
Rémi Verschelde
fd4c907a35
Merge pull request #12260 from bojidar-bg/11975-navpoly-freeze
...
Fix adding a NavigationPolygonInstance to a Node2D freezing the editor
[ci skip]
2017-10-20 16:40:39 +02:00
Bojidar Marinov
a6472d0344
Fix adding a NavigationPolygonInstance to a Node2D freezing the editor
...
Fixes #11975
2017-10-20 16:55:47 +03:00
Sofox
aaf6e77198
Tweaks ParallaxBackground to work better with zoom. Ensures a Parallax Layer with a (1,1) motion scale synchs perfectly with a regular stationary sprite that is outside the ParallaxBackground, regardless of the zoom level and movement of the camera.
2017-10-18 11:17:42 +01:00
Hiroshi Ogawa
130ad806f8
Fix AnimatedSprite frame property slider in editor
2017-10-11 17:49:39 +09:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
damarindra
b786e7877b
Fix: CollisionObject shape owner indexing is inconsistent
2017-09-24 15:55:45 +07:00
Marcelo Fernandez
46af050e93
Rename get_position => get_playback_position and seek_pos => seek on audio classes
2017-09-23 16:55:00 +02:00
Marcelo Paez
5e50fde3d9
Changed get_audio_bus and set functions to get_audio_bus_name and set
...
and edited docs for Area2D due to renaming o get_audio_bus and set_audio_bus
2017-09-22 15:05:09 -03:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:
* pos -> position
* rot -> rotation
* loc -> location
C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Thomas Herzog
7dffed485b
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
...
Fix enums bindings
2017-09-15 08:43:35 +02:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Rémi Verschelde
c2741e2385
Merge pull request #11069 from aroncds/master
...
KinematicBody2D api most friendlier
2017-09-13 15:07:17 +02:00
Juan Linietsky
06138bf18c
Renamed play to playing property, but now playing and is_playing is the same, to avoid confusing. Closes #11211
2017-09-13 08:41:26 -03:00
Marcelo Fernandez
730d36f350
Fixed issues with surround sound on audio server
2017-09-12 15:13:28 -03:00
Rémi Verschelde
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Rémi Verschelde
cf941fdc35
Merge pull request #11026 from hpvb/fix-assign-in-if
...
Remove assignment and declarations in if statements
2017-09-12 11:57:49 +02:00
Rémi Verschelde
2b50dc5d4f
Merge pull request #11057 from hpvb/fix-various-warnings
...
Fix various assorted warnings
2017-09-12 11:39:47 +02:00
Rémi Verschelde
3941e01a57
Merge pull request #11041 from hpvb/fix-clang-format-error
...
Fix serveral recent new clang-format errors
[ci skip]
2017-09-12 11:16:36 +02:00
Will Nations
d441cc9660
Updated Area2D docs and added enum constants to scripting
2017-09-11 22:39:28 -05:00
Aron de Castro
6e0892f223
Added to kinematicbody2d the copy and paste of the API friendler of KinematicBody
2017-09-10 13:07:47 -03:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b
Fix various assorted warnings
...
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Hein-Pieter van Braam
5e18967d77
Fix serveral recent new clang-format errors
2017-09-08 00:20:16 +02:00
Juan Linietsky
98af411a37
Renamed playing property of audiostreams to play, to make it clearer. Fixes #10730
...
Also disabled the auto shut down of the property when stream ends, to make it easier to animate
2017-09-06 22:03:04 -03:00
Juan Linietsky
2802dced84
Automatically redraw when shaders using TIME are visible, fixes #10554
2017-09-05 00:30:39 -03:00
Rémi Verschelde
8e75e7311b
Merge pull request #10858 from letheed/add-shadow_filter-variant
...
add shadow_filter variant PCF7
2017-09-02 12:13:01 +02:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Juan Linietsky
42659b0d9f
Fix freeze on exit on audiostreamplayers when setting invalid stream, closes #10093
2017-09-01 16:43:46 -03:00
letheed
3a188015be
add shadow_filter variant PCF7
2017-09-01 15:01:24 +02:00
Rémi Verschelde
6611dfbd6c
Merge pull request #10378 from RandomShaper/nav-keep-start-end
...
Guarantee start & end points are returned by Navigation2D
2017-08-30 16:12:12 +02:00
Rémi Verschelde
348eb4e4c5
Merge pull request #10361 from RandomShaper/tilemap-global-mtl
...
Let TileMap apply its material
2017-08-30 16:02:12 +02:00
Juan Linietsky
9c3bddfac2
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
...
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
Pedro J. Estébanez
d8584682f0
Fix joints collision exceptions
...
Fix 3D joint handling of collision exceptions, so that they lose effect when the joint is not valid in every case; also some redundant code removed.
Also avoid trying to create the joint when not neither body A nor body B are set.
Make 2D joints be handled like their 3D counterparts, which adds the fixes to them while also removing duplicated code.
(adapted from commit 4a98a59aa6
)
2017-08-29 23:46:44 +02:00
Ignacio Etcheverry
c16d00591b
DocData and type hints fixes
...
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Rémi Verschelde
2353c65a1f
Merge pull request #10622 from letheed/patch-1
...
Allow to disable shadow gradients in Light2D
2017-08-28 23:46:42 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Juan Linietsky
a1c03a69d2
added finished signals to audio stream players, fixes #9928
2017-08-25 11:58:21 -03:00