Commit graph

9567 commits

Author SHA1 Message Date
Linus
c3b79b1e07 RayShape, Shape, SphereShape 2017-09-23 14:35:39 +02:00
Juan Linietsky
fbabef6da3 Fixes to rim parameter in shader 2017-09-23 08:27:48 -03:00
Rémi Verschelde
210ebb5cdb doc: Sync classref with current source
[ci skip]
2017-09-23 10:59:41 +02:00
Alexander Meerhoff
a11a9ddffc makerst.py: Support split classes XML and use folders and/or single files as input
The new syntax is (from `doc/`): `tools/makerst.py classes/ ../modules/`.
Also adapted `make rst` target accordingly.

[ci skip]
2017-09-23 10:34:35 +02:00
Poommetee Ketson
a42fbfc426 Merge pull request #11497 from paezao/issue-11109
Area2D get_audio_bus and set_audio_bus renamed to get_audio_bus_name and set_audio_bus_name
2017-09-23 01:08:05 +07: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
Juan Linietsky
3237e05c36 Ability to convert from SpatialMaterial to ShaderMaterial 2017-09-22 09:20:52 -03:00
Rémi Verschelde
779426d2df Merge pull request #11477 from djrm/pr_visuals
Improved a lot of icons, and some style fixes
2017-09-22 09:28:10 +02:00
Rémi Verschelde
15042128a6 Merge pull request #11480 from tagcup/button_unpress_fix
Ensure pressed is set to false in BaseButton::_unpress_group.

[ci skip]
2017-09-22 09:25:08 +02:00
Rémi Verschelde
bbcf6bde41 Merge pull request #11481 from tagcup/inversesqrt
Add inversesqrt to shader language.
2017-09-22 09:24:19 +02:00
Rémi Verschelde
b8d7dd22e8 Merge pull request #11487 from groud/viewport_base_clip
Fixes the rulers text drawn outside the viewport_base

[ci skip]
2017-09-22 09:20:52 +02:00
Rémi Verschelde
a0d843910f Merge pull request #11486 from kubecz3k/freelook-calibration
freelook_base_speed calibration

[ci skip]
2017-09-22 09:20:26 +02:00
Gilles Roudiere
56a80625e5 Fixes the rulers text drawn outside the viewport_base 2017-09-22 09:18:04 +02:00
Rémi Verschelde
be60689812 Merge pull request #11461 from hpvb/add-likely-macros
Implement Linux-style likely()/unlikely() macros
2017-09-22 09:15:45 +02:00
Unknown
9b50155009 freelook_base_speed calibration
freelook_base_speed changed from 0.5 to 0.1
Also precision changed from 0.1 to 0.01 so it's possible to set values lower than 0.1
2017-09-22 09:09:23 +02:00
Rémi Verschelde
9906aeb2f8 Merge pull request #11485 from rosshadden/fix/typos
Fixed a bunch of typos, including an error code.

[ci skip]
2017-09-22 09:00:01 +02:00
Rémi Verschelde
f6c94e6285 Merge pull request #6859 from tagcup/master
RichTextLabel: Added get_visible_line_count method
2017-09-22 08:53:48 +02:00
Ross Hadden
1a97d6455d Fixed a bunch of typos, including an error code. 2017-09-21 23:58:29 -04:00
George Marques
d595b79c62
UWP: Fix build issue about Object ambiguity 2017-09-21 22:47:52 -03:00
Ferenc Arn
b4417161f5 RichTextLabel: Added get_visible_line_count method.
Also exposed get_line_count to GDScript.
2017-09-21 21:43:33 -04:00
Ferenc Arn
a6c3147c0a Add inversesqrt to shader language. 2017-09-21 21:02:08 -04:00
Ferenc Arn
ca3061d9c2 Ensure pressed is set to false in BaseButton::_unpress_group. 2017-09-21 20:58:32 -04:00
Rémi Verschelde
b51180caa3 Merge pull request #11472 from groud/fix_canvasitemeditor_nullchecks
Fix godot spraying errors about a null check

[ci skip]
2017-09-21 23:31:41 +02:00
Daniel J. Ramirez
29d3ecf29a Improved a lot of icons, and some style fixes 2017-09-21 15:55:07 -05:00
Gilles Roudiere
e2145bc960 Fix godot spraying errors about a null check 2017-09-21 21:59:38 +02:00
Juan Linietsky
bf371dcb32 Added proximity and distance fade to SpatialMaterial 2017-09-21 15:20:28 -03:00
Hein-Pieter van Braam
22358babda Implement Linux-style likely()/unlikely() macros
This implement branch prediction macros likely() and unlikely() like in
Linux. When using these macros please ensure that when you use them the
condition in the branch really is very, very likely or unlikely. Think
90+% of the time. Primarily useful for error checking. (And I implement
these macros for all our error checking macros now)

See this article for more information:
https://kernelnewbies.org/FAQ/LikelyUnlikely

There are more places where these macros may make sense in renderer and
physics engine. Placing them will come in another commit down the line.
2017-09-21 18:28:28 +02:00
Rémi Verschelde
d7468fea5b Merge pull request #11463 from kubecz3k/mouse-orbit-modifier
rotation orbit modifier defaults to none

[ci skip]
2017-09-21 18:06:16 +02:00
Unknown
267c942121 rotation orbit modifier defaults to none 2017-09-21 17:45:42 +02:00
Rémi Verschelde
4664d03a0e Merge pull request #11458 from volzhs/fix-trustmanager-master
Fix TrustManager for Android

[ci skip]
2017-09-21 14:06:55 +02:00
volzhs
1a704d7676 Fix TrustManager for Android 2017-09-21 20:56:38 +09:00
Rémi Verschelde
a1779c9044 Merge pull request #11013 from MednauN/master
Fix duplication of node with script
2017-09-21 10:53:58 +02:00
Rémi Verschelde
82f13288dd Merge pull request #11453 from djrm/pr_visuals
Visual tweaks.
2017-09-21 10:51:06 +02:00
Rémi Verschelde
2d05e102b7 Merge pull request #11447 from akien-mga/queue_delete
Let queue_free() work on nodes which are not in the scene tree
2017-09-21 10:42:02 +02:00
Rémi Verschelde
d79ce05b91 Merge pull request #11365 from leezh/freetype_mono
Added support for FT_PIXEL_MODE_MONO in FreeType
2017-09-21 10:37:21 +02:00
Rémi Verschelde
791f69419d Merge pull request #11304 from rminderhoud/editor_import_docs
Added EditorImportPlugin class ref docs

[ci skip]
2017-09-21 10:36:49 +02:00
Rémi Verschelde
2f82da7f72 Merge pull request #11222 from toger5/spatial_scrolling
Spatial scrolling update + better default inertia values
2017-09-21 10:35:25 +02:00
Rémi Verschelde
ffec7cf193 Merge pull request #11299 from marcelofg55/fix_seticon_default
Fix setting the default icon briefly with tools=no
2017-09-21 10:30:36 +02:00
Rémi Verschelde
e8a0c5da77 Merge pull request #11243 from hpvb/add-debug-info-on-release
Create separate debug info files by default
2017-09-21 10:30:17 +02:00
Rémi Verschelde
34c4c8046c Merge pull request #11221 from toger5/editor_spacing
added editor spacing
2017-09-21 10:25:40 +02:00
Rémi Verschelde
5c76e638ab Merge pull request #11187 from SaracenOne/subscene_box_selection
Box selection for MeshInstances and subscene nodes.
2017-09-21 10:24:40 +02:00
Rémi Verschelde
0eec37e247 Merge pull request #11141 from fcobos/x11_borderless_switch_fix
X11 - Adding borders back to a borderless window was not working.
2017-09-21 10:23:52 +02:00
Rémi Verschelde
601564e9a9 Merge pull request #11446 from marcelofg55/ciep_null_checks
Add missing NULL checks on CanvasItemEditor

[ci skip]
2017-09-21 10:02:20 +02:00
Leon Krause
0899b5029c Correct spelling SEPERATE -> SEPARATE to fix build 2017-09-21 03:29:26 +02:00
Daniel J. Ramirez
00755ff2c0 Visual tweaks.
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
Juan Linietsky
423ca9bcaf Fix import order, so scenes are imported after textures.
Also fix bugs when meshes are always generated.
2017-09-20 21:04:20 -03:00
Juan Linietsky
71e4fae3a1 Merge pull request #11437 from hpvb/allow-compare-to-null
Allow equality checks between null and arbitrary types
2017-09-20 17:49:18 -03:00
Hein-Pieter van Braam
6565cf3360 Allow equality checks between null and arbitrary types
Uninitialzed values in GDScript are of type NIL so not allowing null
comparisons did end up breaking some code.

This commit reenables NULL equality checks for all types. We're going to
have to figure out how to make this fast for the compiler later.
2017-09-20 22:14:38 +02:00
Rémi Verschelde
4820dfc570 Let queue_free() work on nodes which are not in the scene tree
In practice such nodes could directly be free()'ed, but this little change
prevents users from leaking memory by mistake.
Closes #9074.
2017-09-20 21:49:56 +02:00
Marcelo Fernandez
1a8b324545 Add missing NULL checks on CanvasItemEditor 2017-09-20 16:28:16 -03:00