Commit Graph

13647 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Fabio Alessandrelli e7b9e2f970 Fix IPhone and OSX cross compilation 2018-03-28 19:08:20 +02: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
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
Rémi Verschelde 4a5723f59e
Merge pull request #17760 from eska014/html5-refactor
Refactor HTML5 platform build script
2018-03-26 21:15:17 +02:00
Wilson E. Alvarez bc9ef5461b
Simplify CanvasItemEditor anchor drag logic 2018-03-26 14:30:51 -04:00
Leon Krause d8d9eea722 Refactor JavaScript platform build script 2018-03-26 19:46:56 +02:00
Chaosus d52722c6da Added wrap functions to C# 2018-03-26 14:33:09 +03:00
Michael Alexsander Silva Dias ea97e2d0eb Added the "GLES2" option for the video-driver in the terminal help. 2018-03-25 23:23:53 -03:00
Ignacio Etcheverry 928cdb4f8a
Merge pull request #17360 from cart/mono-basis-fix
Fix mono basis GetEuler bug and marshalling/unmarshalling
2018-03-24 23:08:06 +01:00
Carter Anderson 91f271fa9e Fix mono basis GetEuler bug and marshalling/unmarshalling 2018-03-24 13:45:11 -07:00
Ignacio Etcheverry a8d8c06753
Merge pull request #17134 from aaronfranke/master
[Mono] Replace float with real_t, other misc C# improvements
2018-03-24 21:10:41 +01:00
Rémi Verschelde ee6a2c5fbf
Merge pull request #17747 from robfram/fix-PR-17589
Fix bug added in PR #17589. Resources couldn't be saved to files
2018-03-24 19:32:49 +01:00
robfram 7821b70a00 Fix bug added in PR#17589. Resources couldn't be saved to files
This PR fixes the code to avoid saving default environment every time
the project is run whitin the editor.

Should fix #17727. Sorry for the troubles!
2018-03-24 19:16:47 +01:00
Rémi Verschelde fd79de01c2
Merge pull request #17706 from Calinou/overhaul-hidpi-settings
Overhaul the display scaling editor settings
2018-03-23 14:12:20 +01:00
Hugo Locurcio 61bf0d10d5
Overhaul the display scaling editor settings
This adds more scaling options, in addition to a custom scaling option
which allows any scale between 0.75 and 3.0 to be used.
2018-03-23 14:04:39 +01:00
Rémi Verschelde 01bb39ac3f
Merge pull request #17321 from LinkDoyle/issue_16350
Fix switching WindowDialog types leaves garbage buttons
2018-03-23 11:38:59 +01:00
Rémi Verschelde 32c726f7cd
Merge pull request #17344 from poke1024/multi-add-clear-script
Allow Attach and Clear Script on multiple nodes
2018-03-23 11:37:18 +01:00
Rémi Verschelde 1d07830182
Merge pull request #17490 from robfram/homogenize-check-prop-names
Fix non-valid characters for `input_action`
2018-03-23 11:29:26 +01:00
Rémi Verschelde f16652d1a2
Merge pull request #17496 from robfram/fix-f3-change-editor-and-find
Fix pressing `F3` do both changing to script editor AND find next text
2018-03-23 11:28:48 +01:00
Rémi Verschelde 699325f9a1
Merge pull request #17505 from ArkDShiggy/invert_y-axis
add option to invert y-axis
2018-03-23 11:28:05 +01:00