Commit graph

15951 commits

Author SHA1 Message Date
Michael Alexsander Silva Dias 5c6be1aea5 Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors 2018-08-22 16:52:38 -03:00
Juan Linietsky 334acc017f Add distance based dithering to the default material. 2018-08-22 10:24:00 -03:00
Mariano Javier Suligoy 810b73c01e Display tile ID along with name
Fixes #20895.
2018-08-22 14:35:50 +02:00
Rémi Verschelde 8b25c0513f
Merge pull request #21152 from DualMatrix/fileselect_error
Fixed !is_inside_tree() errors in file dialog
2018-08-22 14:27:17 +02:00
Rémi Verschelde a097fdfab1
Merge pull request #21287 from Noshyaar/preview-crash
Fix crash when previewing null AudioStream
2018-08-22 14:07:09 +02:00
Poommetee Ketson a327a0078b Fix crash when previewing null AudioStream 2018-08-22 17:03:51 +07:00
Rémi Verschelde 3573d5f4ae
Merge pull request #21281 from elasota/fix-squish-sse
Fix Squish SSE misconfiguration
2018-08-22 09:55:57 +02:00
Rémi Verschelde a6979e7c66
Merge pull request #21279 from vnen/gdscript-fixes
Assorted GDScript fixes
2018-08-22 09:53:52 +02:00
Rémi Verschelde 703de2f6ec
Merge pull request #21256 from elasota/bptc
BPTC support
2018-08-22 09:53:27 +02:00
elasota 35f6ba5c5d BPTC support 2018-08-21 22:56:04 -04:00
elasota 04410346bb Fix Squish SSE misconfiguration 2018-08-21 22:21:56 -04:00
Rémi Verschelde 0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Laurent Van Acker 4d6a6e0813 Add modulation of tiles from tileset in palette and editor draw 2018-08-22 01:36:43 +02:00
George Marques 94d662ad55
GDScript: Ignore unused arguments/local vars that start with _
Makes it simple to ignore particular arguments without adding special
comments, especially in engine-defined functions.
2018-08-21 20:29:43 -03:00
George Marques 4d2b9a4b35
GDScript: Show warning messages only on debugger
Don't show on console/output anymore.
2018-08-21 20:29:33 -03:00
Ignacio Etcheverry c45a4f0310
Merge pull request #21275 from neikeq/tfiswrongwithhooks
Mono: Fix weird crash when loading corlib
2018-08-22 01:00:13 +02:00
Ignacio Etcheverry 143c471eff Mono: Fix weird crash when loading corlib 2018-08-22 00:49:38 +02:00
Ignacio Etcheverry 5df91099c7
Merge pull request #18502 from space-wizards/18-04-29-assembly-load-hook
assembly_load_hook fallback for registering GDMonoAssemblies.
2018-08-22 00:27:35 +02:00
Chaosus 27731a86d2 Restrict set_pitch_scale to positive scales for AudioStreamPlayer*
Fixes #20459.

Co-authored-by: Tiago José Sousa Magalhães <crakylps@gmail.com>
2018-08-22 00:11:53 +02:00
Michael Alexsander Silva Dias d0f55ab6e4 Fix MeshLibrary editor 2018-08-21 19:06:52 -03:00
Rémi Verschelde a3fe19dd10
Merge pull request #21252 from vnen/remove-autoload-init
Disable scripting and physics early in EditorNode
2018-08-21 23:42:26 +02:00
Rémi Verschelde 4bf15d8090
Merge pull request #21236 from dragmz/windows-graceful-close
Try closing gracefully before terminating process
2018-08-21 22:47:21 +02:00
Juan Linietsky 0a8ac1a57c display some constants as hex 2018-08-21 17:13:16 -03:00
Rémi Verschelde ed10ff65fd
Merge pull request #21245 from RandomShaper/fix-physics-canvas-xform
Take CanvasLayer transform into account for 2D physics
2018-08-21 21:46:04 +02:00
Rémi Verschelde 65c8a49122
Merge pull request #21250 from dragmz/ref-ptr-n(eq)-op
== and != operators for Ref<T> / T*
2018-08-21 21:28:29 +02:00
Rémi Verschelde 404ee1a56b Style: Fix issues that went past CI 2018-08-21 21:28:06 +02:00
Rémi Verschelde a319d72071
Merge pull request #21253 from aaronfranke/plane-constants
Rename Plane constants, add to Mono
2018-08-21 21:16:41 +02:00
Rémi Verschelde d3de933377
Merge pull request #21263 from guilhermefelipecgs/fix_gradient_edit
Fix grab/select of gradient edit
2018-08-21 20:47:47 +02:00
Juan Linietsky ee07fb5ebe Changes to ClippedCamera, RayCast,Raycast2D and 2D physics API to add ability to choose between bodies and areas when colliding. 2018-08-21 15:31:23 -03:00
Rémi Verschelde 28e9aedbdd
Merge pull request #21267 from akien-mga/color-grayscale
Deprecate incorrect Color::gray()
2018-08-21 20:29:56 +02:00
Pedro J. Estébanez 20dc63054f Optimize CanvasLayer::get_global_transform_with_canvas
So it takes advantage of the `get_global_transform` cached data.
2018-08-21 20:10:15 +02:00
Pedro J. Estébanez 4839e5f6d9 Take CanvasLayer transform into account for 2D physics
Fixes #18073.
2018-08-21 20:10:15 +02:00
Juan Linietsky 44d75e3b6d
Merge pull request #21266 from AndreaCatania/master
Added area / body collision exception in raycast
2018-08-21 14:26:19 -03:00
George Marques fdf18a4198
GDScript: Fix undefined behavior on GDScriptTokenizerBuffer 2018-08-21 13:54:52 -03:00
Andrea Catania c153489e25 Added comment to class_db to know how to bind more then 6 params 2018-08-21 18:51:08 +02:00
Andrea Catania 0b98834b77 Added ray / shape / point / motion / rest cast exclusion of area and or body 2018-08-21 18:51:08 +02:00
George Marques abbdb9d951
GDScript: Forbid invalid identifiers in match bindings
Also forbid shadowing a variable from an upper scope.
2018-08-21 13:38:18 -03:00
George Marques d97624e295
GDSCript: Fix cyclic class dependency detection 2018-08-21 13:14:11 -03:00
Rémi Verschelde 2969dffbe3 Deprecate incorrect Color::gray()
This average is not a proper approximation of a grayscale value,
get_v() is better suited for that.

If we want a real to_grayscale() conversion, it's somewhat more
involved: https://en.wikipedia.org/wiki/Grayscale

Remove the deprecated Gray() from C# bindings as it conflicts
with new named color constants.
2018-08-21 17:48:31 +02:00
Juan Linietsky e20864c340 Clipped camera implementation, a camera that avoids going into geometry. 2018-08-21 11:48:48 -03:00
Guilherme Felipe 40f8ab6b1e Fix grab/select of gradient edit 2018-08-21 11:22:58 -03:00
Rémi Verschelde 912131fe03
Merge pull request #20101 from panzergame/shape_margin
Expose bullet shape margin to UI.
2018-08-21 16:17:11 +02:00
Marcin Zawiejski a1d2fbdeb2 == and != operators for Ref<T> / T*
This is to prevent crashes for code like:

...
void Material::set_next_pass(const Ref<Material> &p_pass) {

	ERR_FAIL_COND(p_pass == this);
...

that's been fixed in 031f763d4f
2018-08-21 13:25:50 +02:00
Rémi Verschelde 238b70e2db
Merge pull request #21248 from akien-mga/remove-utf8-constants
Remove circle/diamond String constants
2018-08-21 13:09:58 +02:00
Rémi Verschelde 94862d41cd
Merge pull request #21260 from akien-mga/ci-debug_release
CI: Disable debug_release on Travis/AppVeyor
2018-08-21 13:09:26 +02:00
Rémi Verschelde e71c20099c CI: Disable debug_symbols on Travis/AppVeyor
Also increase AppVeyor cache size to 1024,
should match what is available for us in the free plan:
https://www.appveyor.com/docs/build-cache/#cache-size-beta

And drop obsolete debug_release option for Windows, superseded
by target=release and debug_symbols=yes.
2018-08-21 12:36:57 +02:00
Aaron Franke a986686ac4 Rename Plane constants, add to Mono
But I'm not tagging PR as [Core] or [Mono] due to it being a minor change anyway.
2018-08-21 01:35:07 -04:00
Leon Krause e9cb03f33e
Merge pull request #20922 from kripken/err
HTML5: use console.warn instead of Module.printErr
2018-08-21 03:34:21 +02:00
George Marques ed3776c6a4
Disable scripting and physics early in EditorNode
This avoids issues with scripts being instanced before this is set, like
autoloads.
2018-08-20 21:55:01 -03:00
Rémi Verschelde 4ea3e4f551 doc: Sync classref with current source 2018-08-21 00:35:46 +02:00