Commit Graph

14631 Commits

Author SHA1 Message Date
Paulb23 f7c727e6c3 Abstracted the syntax highlighter from text edit 2018-04-02 12:41:44 +01:00
Rémi Verschelde 59710880cd
Merge pull request #17844 from Faless/uwp_fix
Fix UWP build after #17194
2018-04-02 11:51:26 +02:00
Alexander Alekseev b569251110 Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to exit without releasing the 'shapeInterface' pointer. 2018-04-02 09:29:34 +03:00
Wilson E. Alvarez 747c65272d
Added signal to VideoPlayer to notify when the video finished playing 2018-04-01 23:40:26 -04:00
bosak 90918ff5ab add tint for under, progress and over and tint group 2018-04-01 19:22:51 +03:00
Poommetee Ketson a492d22952 Mesh: fix crash when creating mesh outline from QuadMesh
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.

This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
2018-04-01 22:06:47 +07:00
Andrea Catania fe768f4f00 physics area added monitorable check 2018-04-01 11:27:18 +02:00
Dmitriy Romanov 0e844f6c91 Fix Collada material roughness import function 3
Improved readability and further tweaking of function
2018-03-31 13:44:46 +03:00
Thomas Herzog 098c7ba4f9
Merge pull request #17878 from karroffel/nativescript-1.1-bughunt
[GDNative] fixed issue with library unloading order and header update
2018-03-31 11:41:09 +02:00
Igors Vaitkus 06fab24348
Fix UpdatePowerInfo method implementation in PowerIphone class 2018-03-31 02:52:37 +03:00
karroffel 0b92aded23 [GDNative] fixed issue with library unloading order 2018-03-31 01:45:18 +02:00
karroffel ce36ecda4c [GDNative] added GDCALLINGCONV to instance binding functions 2018-03-31 01:44:50 +02:00
Michael Alexsander Silva Dias d912e10c65 Added missing end points for brief descriptions in the docs. 2018-03-30 20:11:14 -03:00
Ignacio Etcheverry d2eb731878
Merge pull request #17772 from Chaosus/monowrap
Add wrap functions to C#
2018-03-31 00:12:16 +02:00
Maxwell Paul Brickner 6e1bba1987 README: Use HTTPS URL for image. (#17851)
Updated links to use https when possible to avoid redirects.
2018-03-30 22:11:52 +02:00
Max Hilbrunner 7c441ad8ba
Merge pull request #17871 from romlok/interpolated-docs
[DOCS] Some content for InterpolatedCamera
2018-03-30 21:26:47 +02:00
Mel Collins c05d12384a [DOCS] Some content for InterpolatedCamera 2018-03-30 19:15:38 +02:00
Benedikt Bär 84d60b0829 Implement missing navgiation polygon debugging in tilemap 2018-03-30 17:28:53 +02:00
Max Hilbrunner c2c82a6ea2
Merge pull request #17866 from mhilbrunner/docs-collisionshape
[DOCS] Typo fix for CollisionShape[2D]
2018-03-30 16:49:54 +02:00
mhilbrunner 41da122875 [DOCS] Typo fix for CollisionShape[2D] 2018-03-30 16:42:06 +02:00
Nikodem Lokatelj 4fdee1d9f1 Fixed _issue_activated to take the correct issue id from the list 2018-03-30 16:32:14 +02:00
Leon Krause b61021d34f
Merge pull request #17861 from Faless/fix_js_http
Fix bug in HTML5 HTTPClient.
2018-03-30 15:29:17 +02:00
Nikodem Lokatelj 66d2cd3918 perform_node_renames fix for a case where the new name is empty 2018-03-30 14:49:21 +02:00
Fabio Alessandrelli b8c73b195f Fix bug in HTML5 HTTPClient.
The URL parameter already has a slash, adding an extra one results in
an invalid resource path
2018-03-30 14:31:18 +02:00
Marcelo Fernandez d21a2019f1 WASAPI driver will now resample when the device rate != audio/mix_rate 2018-03-29 22:56:57 -03:00
Bastiaan Olij a36e5951ff Improve side impulse calculation 2018-03-30 09:30:38 +11:00
Rémi Verschelde b704cfa4d5
Merge pull request #17831 from YeldhamDev/terminal_gles2
Added the "GLES2" option for the video-driver in the terminal help
2018-03-29 22:02:58 +02:00
Rémi Verschelde 769b9b54b9
Merge pull request #17825 from Faless/osxcross_fix
Fix IPhone and OSX cross compilation
2018-03-29 21:55:45 +02:00
JFonS 9c307d4b6c Added flag on SpatialMaterial to disable shadows 2018-03-29 18:46:42 +02:00
Fabio Alessandrelli e6364c3fd5 Fix UWP build after #17194
`uwp/detect.py` was not setting the `env.msvc` variable to true causing
scons to pass wrong arguments to `msvc` (using `clang/gcc` options)
which in turn break the build due to `-Werror=return-type` not being
recognized by ms compiler.
2018-03-29 18:21:08 +02:00
Dmitriy Romanov 3b29e85257
Fix Collada material roughness import function 2
Fix minus space.
2018-03-29 12:47:24 +03:00
Poommetee Ketson 4dbae5a738
Merge pull request #17839 from Noshyaar/1
[Docs] Control, VehicleWheel: fix typos

[ci skip]
2018-03-29 12:55:15 +07:00
Poommetee Ketson a88ee7d920 [Docs] fix typos 2018-03-29 12:46:21 +07:00
Leon Krause 5be7c3dcee Detect and configure JavaScript build per Emscripten configuration file 2018-03-29 04:07:23 +02:00
Max Hilbrunner 13d5ee01f9
[DOCS] Node & PackedScene (#17833)
* [DOCS] Node: SceneSaver -> PackedScene

* [DOCS] PackedScene: Code example, resolve TODO
2018-03-28 23:07:03 +02:00
Max Hilbrunner b59ae81538
[DOCS] Generic6DOFJoint fixes 2018-03-28 22:44:26 +02:00
Michael Alexsander Silva Dias 7cbf301f31 Fixed some popups not shrinking their size back when losing items. 2018-03-28 17:04:37 -03:00
Marc Gilleron a66e1af168 Make heightmap shape usable from PhysicsServer
- Fixed bad size check
- Fixed bad member initialization
- Removed unused cell_size (Bullet expects us to use localScaling)
- Accept precomputed min/max height, will be calculated if not provided
2018-03-28 20:33:51 +02:00
Bojidar Marinov 91eb80041d
Fix StyleBox ignoring region rect and ProgressBar using center size
ProgressBar used the center size of the stylebox to calculate its minimum size, thus disallowing certain setups.
If the old behaviour is wanted, it can be forced by providing a custom minimum size, or by giving proper margins to the stylebox.

Fixes #17779.
2018-03-28 20:56:09 +03:00
bruvzg 5ba984fc8c
[macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts. 2018-03-28 20:22:59 +03:00
Fabio Alessandrelli e7b9e2f970 Fix IPhone and OSX cross compilation 2018-03-28 19:08:20 +02:00
Dmitriy Romanov 89f4e71679
Fix Collada material roughness import function
Fixes NaN roughness in Godot when hardness in Blender is set to more than 255.
Also corrects dependency: more hardness = more roughness (it says shininess, but it actually is hardness).
2018-03-28 18:54:33 +03:00
Gilles Roudiere 4b4ed9b724
Merge pull request #17785 from Rubonnek/simplify-canvas-item-logic
Simplify CanvasItemEditor anchor drag logic
2018-03-28 11:56:29 +02:00
Chaosus d974fa1780 Removed redundant abs shader builtin 2018-03-28 12:50:55 +03:00
Gilles Roudiere 4637eb0b00
Merge pull request #17803 from Chaosus/snap2d
Enable snapping in 2D when control key pressed
2018-03-28 11:49:44 +02:00
Nikodem Lokatelj 836565b249 FIX: FILE_SHOW_IN_EXPLORER now correctly shows the file's directory 2018-03-28 11:34:46 +02:00
Chaosus 9a6b4a3f11 Enable snapping in 2D when control key pressed 2018-03-28 10:07:21 +03:00
Wilson E. Alvarez 3f86fefb64
Move GodotSharp and MonoBuildTab member variables to initializer list 2018-03-27 21:14:52 -04:00
Pedro J. Estébanez a6dc160d5c Use radio-button-like menu entries where applicable 2018-03-27 19:19:45 +02:00
Pedro J. Estébanez bf14a6deff Support radio-button entries in ItemListPlugin 2018-03-27 19:19:45 +02:00