Commit graph

10273 commits

Author SHA1 Message Date
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
Rémi Verschelde 6361e24f29 Cleanup unnecessary debug prints 2017-10-21 20:41:07 +02:00
Rémi Verschelde 393daf0502 Merge pull request #12287 from tagcup/pass_metallic
Corrections to #11807.

[ci skip]
2017-10-21 19:55:02 +02:00
Ferenc Arn 6890245321 Corrections to #11807.
Added missing metallic parameter, also fixed a missed a case where wrong roughness condition was used.
2017-10-21 13:40:14 -04:00
Rémi Verschelde f002e4cb82 Merge pull request #12282 from tagcup/path_fix
Fix PathFollow rotations.

[ci skip]
2017-10-21 19:13:11 +02:00
Ferenc Arn 0b89b90b36 Fix PathFollow rotations.
Replaced the lookahead (which is problematic) with exact delta in offset. Also made some other minor fixes and improvements.

Fixes #12258.
2017-10-21 12:51:49 -04:00
Juan Linietsky a2a4f9a62a Merge pull request #11807 from tagcup/roughness_metallic_limiting_cases
Fix the condition when specular light calculation is avoided (should …
2017-10-21 13:44:41 -03:00
Rémi Verschelde a4e7985dab Merge pull request #12283 from AntiSC2/master
File names for scripts can include '-'

[ci skip]
2017-10-21 18:35:15 +02:00
Jakob Sinclair d9d371fb53 File names for scripts can include '-'
Fixes #12261

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-21 17:28:53 +02:00
Rémi Verschelde 632459a46b Merge pull request #12281 from Noshyaar/fixed2physics
Refactor Fixed to Physics
2017-10-21 16:48:05 +02:00
Poommetee Ketson 9b634180aa Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00
Rémi Verschelde 2e212a2cfd makerst: Remove stray spaces in method signatures 2017-10-21 14:01:05 +02:00
Rémi Verschelde 2cd044e89b makerst: Add support for [member] and [signal]
Part of #11137. [enum] is still missing, and none are implemented in the engine itself yet.
2017-10-21 13:53:59 +02:00
Rémi Verschelde b302084395 makerst: Fix rst-ization of members and escaping of [Class]s
Fixes #11517.
2017-10-21 12:33:52 +02:00
Rémi Verschelde 8652c1d5b1 classref: Sync with current source 2017-10-21 12:04:36 +02:00
Rémi Verschelde 722a2bb9db i18n: Sync translation templates with current source 2017-10-21 12:04:36 +02:00
Rémi Verschelde 4e9b7bf32e i18n: Sync translations with Weblate 2017-10-21 12:04:36 +02:00
Nathan Lovato 5cbab0e001 Merge pull request #12221 from Jerome67000/docs_input
[DOCS] InputEvent*
2017-10-21 12:02:18 +02:00
Rémi Verschelde 1be4f4088b Merge pull request #12270 from cbscribe/kcc_rb2d_doc
[DOCS] Updates and clarifications to RigidBody2D

[ci skip]
2017-10-21 11:36:49 +02:00
Rémi Verschelde f3f15965c0 Merge pull request #12276 from djrm/pr_vp_fixes
Fixed viewport transparent bg when clear mode is enabled.
2017-10-21 11:36:09 +02:00
Andreas Haas 70a7019807 Merge pull request #12274 from opcon/pr-1
Fix InputEventJoypadMotion::action_match for 0 axis values.
2017-10-21 10:27:56 +02:00
Jerome67000 0a89b0f767 [DOCS] InputEvent* 2017-10-21 10:04:43 +02:00
Daniel J. Ramirez d67e77e837 Fixed viewport transparent bg when clear mode is enabled. 2017-10-21 02:06:10 -05:00
Chris Bradfield d4eecce962 [DOCS] Updates and clarifications to RigidBody2D 2017-10-20 22:48:23 -07:00
Patrick Yates c433d83d81 Fix InputEventJoypadMotion::action_match for 0 axis values.
Make action_match ignore the sign if axis value is 0.
This means that an axis value of 0 will match actions defined for both positive and negative values, as expected.

Fixes #12223
2017-10-21 16:06:24 +11:00
David Saltares 8bc96cc146 Adds world_to_map() and map_to_world() methods to GridMap.
Closes #11856.
Also fixes GridMap::set_cell_scale() not visually updating the grid meshes
2017-10-21 00:20:25 +02:00
Rémi Verschelde 35683b9f32 Merge pull request #12031 from NathanWarden/export_cancel_to_done
Changed the export and fix dependencies dialog cancel button names to "Close"

[ci skip]
2017-10-21 00:15:48 +02:00
Poommetee Ketson ec12e3b4f9 Merge pull request #12042 from MillionOstrich/treeitem-move-to-bottom
Stop move_to_bottom losing references to treeitems
2017-10-21 04:58:11 +07:00
Rémi Verschelde 8cb76888ae Merge pull request #12228 from hi-ogawa/fix-spatial-shader-conversion-with-texture
Fix spatial shader conversion with texture
2017-10-20 23:55:58 +02:00
Rémi Verschelde 7969565de7 Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
Rémi Verschelde bf88c3c8e8 Merge pull request #12097 from rcurtis/issue12065
Visualscript: Fixes untouched value is null instead of 0
2017-10-20 23:20:32 +02:00
Rémi Verschelde 08ebbc90a8 Merge pull request #12107 from RandomShaper/fix-anim-before-first-key
Fix animation before first key
2017-10-20 23:08:02 +02:00
Rémi Verschelde f2f75d1f11 Merge pull request #12149 from endragor/check-input-handled
Check if input is handled before handling it
2017-10-20 22:47:31 +02:00
Rémi Verschelde 81cd52dfb4 Merge pull request #12242 from AntiSC2/master
Fix small language mistakes in RigidBody2D documentation

[ci skip]
2017-10-20 22:44:47 +02:00
Jakob Sinclair 1870c2fdcf Fix ambiguous documentation for RigidBody2D
Fixes #12225 and the possesive form of the word body. Also uses simpler terms now
when describing when the linear velocity gets updated.

Signed-off-by: Jakob Sinclair <sinclair.jakob@mailbox.org>
2017-10-20 22:40:02 +02:00
Rémi Verschelde a3a85670a3 Mono: Fix static linking on macOS
[ci skip]
2017-10-20 22:11:55 +02:00
Rémi Verschelde 067fc88488 Merge pull request #12224 from NathanWarden/scene_tree_added_signal
Added a node_added signal to the SceneTree
2017-10-20 22:10:47 +02:00
Rémi Verschelde a286b49377 Merge pull request #12269 from touilleMan/bad-bad-touilleMan
[GDnative] remove useless (and illegal !) STL include

[ci skip]
2017-10-20 22:08:32 +02:00
Emmanuel Leblond aedc44f6fe
[GDnative] remove useless (and illegal !) STL include 2017-10-20 22:05:25 +02:00
Rémi Verschelde 5bc44fe000 Merge pull request #12252 from MednauN/master
iOS GameCenter fixes
2017-10-20 21:37:14 +02:00
Julian Murgia cba35c5ec9 Merge pull request #12199 from Fallayn/patch-1
[DOCS] EditorScript
2017-10-20 21:24:07 +02:00
Juan Linietsky efe9a6ff5a Fixed unnecesary structure copying in bugfix. 2017-10-20 16:13:48 -03:00
Poommetee Ketson 0e9f81a40b Merge pull request #12054 from Fallayn/docs-editorinterface
[DOCS] EditorInterface

[ci skip]
2017-10-20 22:42:39 +07:00
Poommetee Ketson 64337b8209 Merge pull request #12255 from dos1/patch-1
variant.h: Update comments with numeric enum values
2017-10-20 22:37:33 +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
Sebastian Krzyszkowiak 110adc80d2 variant.h: Update comments with numeric enum values
Comments got desynchronized with the actual values of the enum.
To avoid anyone making some stupid mistake here, let's fix it as soon
as possible.
2017-10-20 13:18:40 +02:00
Rémi Verschelde 0e8db63009 Merge pull request #12084 from santouits/tab_container_bug
tab container arrows don't work when a popup was set

[ci skip]
2017-10-20 13:04:25 +02:00
Rémi Verschelde 7f477dae26 Merge pull request #12132 from TheSofox/parallax-fixes
Tweaks ParallaxBackground to work better with zoom. 

[ci skip]
2017-10-20 13:03:23 +02:00
sersoong 771b742047 update GKScore init function
(cherry picked from commit 5ed8826dd0)
2017-10-20 13:01:07 +02:00