Commit graph

21334 commits

Author SHA1 Message Date
Rémi Verschelde
04ee4f45e5
Merge pull request #24771 from timoschwarzer/animation-player-editor-pos-drag-fix
Fix AnimationPlayer editor length and step synchronization
2019-05-24 15:21:47 +02:00
Tomasz Chabora
01491aaf32 Improvements to scroll handling 2019-05-24 14:56:39 +02:00
Rémi Verschelde
5785b9ae1d
Merge pull request #29055 from cbscribe/kcc_docs_animstate
[DOCS] Add descriptions to AnimationNodeStateMachine[Playback]
2019-05-24 14:51:06 +02:00
Rémi Verschelde
13647a3e61
Merge pull request #29051 from mdahlgrengadd/patch-1
Fix getting max magnitude in AudioEffectSpectrumAnalyzer
2019-05-24 14:40:48 +02:00
Rémi Verschelde
49e95d2cc7
Merge pull request #28980 from Jummit/vs-rename-change-base-type
Fix VisualScript Change Base Type title
2019-05-24 13:45:09 +02:00
hbina085
e1816ee0cb fixed problem where the script lists gets ordered even when ordering is disabled 2019-05-24 07:32:27 -04:00
Rémi Verschelde
33239a5ada
Merge pull request #29127 from Xrayez/geometry-delaunay-bind
Expose 2D Delaunay triangulation in Geometry singleton
2019-05-24 13:27:11 +02:00
bruvzg
2b9ed68d6a
Add native window/taskbar icon support for Windows and macOS.
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
2019-05-24 14:23:57 +03:00
Tomasz Chabora
5e9400b2e3 Don't modulate canvas on invisible color change 2019-05-24 13:10:21 +02:00
XiaoLongHan
9d309096c9 fix file system not refresh on exFAT 2019-05-24 12:49:37 +02:00
Chris Bradfield
47b8615a2e [DOCS] Add descriptions to AnimationNodeStateMachine[Playback] 2019-05-24 12:44:15 +02:00
Martin Dahlgren
47f628a013 Fix getting max magnitude in AudioEffectSpectrumAnalyzer 2019-05-24 12:40:04 +02:00
Rémi Verschelde
eaff86f8bd
Merge pull request #29141 from clayjohn/gles2-fog
Do not compute fog when using unshaded in GLES2
2019-05-24 12:22:01 +02:00
Rémi Verschelde
c8957295a6
Merge pull request #29146 from seandheffernan/returnFix2
Change "Return" to "Returns" where necessary in XML documentation
2019-05-24 12:21:12 +02:00
Andrii Doroshenko (Xrayez)
24e9a881c0 Expose 2D Delaunay triangulation in Geometry singleton
Can be used via scripting as `Geometry.triangulate_delaunay_2d(points)`

The interface is the same as in `Triangulate` library, returning indices
into triangulated points.
2019-05-24 13:10:13 +03:00
Rémi Verschelde
71d46fffcf
Merge pull request #29066 from akien-mga/i18n-skip-unsupported-locales
i18n: Skip unsupported locales for editor translations
2019-05-24 12:06:11 +02:00
Rémi Verschelde
0fcd2bf982
Merge pull request #29139 from WiggleWizard/fix-export-plugin-doc
Fixed virtual method not showing up in autocomplete and docs
2019-05-24 12:05:56 +02:00
Sean Heffernan
426bcc9941 Change "Return" to "Returns" where necessary in XML documentation
In many of the XML files it had been noted that when the documentation
refers to a return value, both "Return" and "Returns" are used. This
has now been fixed to only say "Returns".

Fixes #28867
2019-05-23 21:11:24 -07:00
Geequlim
ebcfe28475 Fix parse error when extends from subclass of named classes 2019-05-24 11:56:44 +08:00
clayjohn
3365595254 do not compute fog when using unshaded in GLES2 2019-05-23 17:17:27 -07:00
Ignacio Roldán Etcheverry
a46b8e1ebf
Merge pull request #29140 from neikeq/to_string_impl
C#: Implement ScriptInstance::to_string
2019-05-24 01:24:22 +02:00
Ignacio Etcheverry
04ebf294f3 C#: Implement ScriptInstance::to_string
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
2019-05-24 00:40:20 +02:00
Matthias Schmitt
6b7c8ef327 Auto-expand current node type when replace node 2019-05-24 00:13:41 +02:00
WiggleWizard
aebca30c43 Fixed virtual method not showing up in autocomplete and docs 2019-05-23 22:31:02 +01:00
Rémi Verschelde
9738ed567c
Merge pull request #29134 from ibrahn/fix-crashhandler-msg-lookup
Check project settings live before lookup in crash handler
2019-05-23 21:40:06 +02:00
Ibrahn Sahir
63068e2ccd Check project settings live before lookup in crash handler
In x11, windows and osx crash handlers, check project settings exists
before looking up the crash handler message setting.
Avoids crashing the crash handler when handling a crash outside project
settings lifetime. Instead omitting the configurable message and
continuing with trace dump.
2019-05-23 20:06:56 +01:00
clayjohn
2abe7deae8 fix no depth test and render_priority sorting 2019-05-23 09:21:57 -07:00
Rémi Verschelde
7c73a741f3
Merge pull request #29125 from rodolforg/fix_spatial_look_at_affecting_scale
fix un-scaling in Spatial::look_at_from_position
2019-05-23 17:01:40 +02:00
Rémi Verschelde
2be57e47b3
Merge pull request #29124 from AMS21/fix-28091
Fixed naming issue when duplicating an export
2019-05-23 17:01:22 +02:00
Rémi Verschelde
c20388f2e1
Merge pull request #29123 from ibrahn/init-x11-nullcursor-color
Fixed uninitialised variable in x11 null cursor creation
2019-05-23 17:01:11 +02:00
Rodolfo Ribeiro Gomes
48e4d62554 fix un-scaling in Spatial::look_at_from_position
As mentioned in
https://github.com/godotengine/godot/pull/26897#issuecomment-491178089

the look-at scaling issue solved by PR #26897 happens also in another
look-at method.

Spatial::look_at_from_position() also does not have same input checking
Spatial::look_at() has. Therefore, I fixed it too at same time.
2019-05-23 09:49:50 -03:00
AMS21
fe62b69419 Fixed naming issue when duplicating an export 2019-05-23 14:45:17 +02:00
Rémi Verschelde
1deb41226d
Merge pull request #28738 from 2shady4u/master
Added native binding for dictionary duplication
2019-05-23 13:47:36 +02:00
Rémi Verschelde
2b1c3878f9
Merge pull request #29031 from BastiaanOlij/alpha_shadow
Implement shadow to opacity
2019-05-23 13:37:54 +02:00
Ibrahn Sahir
b660247216 Fixed uninitialised variable in x11 null cursor creation
Fully initialised color var.
Clarified intent a little with comments/layout.
2019-05-23 11:47:28 +01:00
Rémi Verschelde
664f462238
Merge pull request #28987 from Xrayez/geometry-clipper-bind
Expose 2D polygon boolean operations in Geometry singleton
2019-05-23 11:32:48 +02:00
shaderbeast
48bd2e459f Added native binding for dictionary duplication
Added entry in gdnative_api.json


Added function to header as well


Fixed versioning
2019-05-23 10:23:47 +02:00
jfons
1add4c15ab Various improvements to NavigationMesh generation
* Expose EditorNavigationMeshGenerator as an engine singleton so users
  can generate navmesehes from `tool` scripts.

* Add support for generating navmeshes from static colliders. All
  collision shapes are supported except for Plane (since Plane is an
  infinite collider and navmeshes need to have finite geometry).

* When using static colliders as a geometry source, a layer mask can be
  specified to ignore certain colliders.

* Don't rely on global transform. It still should give the exact same
  results but allows for building navmeshes on nodes that are not in the
  tree (useful in `tool` scripts).

* Update navigation gizmos after every new bake.

This work has been kindly sponsored by IMVU.
2019-05-23 08:37:58 +02:00
Rémi Verschelde
c088386c5b
Merge pull request #29109 from RandomShaper/fix_onion_skinning
Fix onion skinning
2019-05-23 07:58:27 +02:00
Rémi Verschelde
1acc918166
Merge pull request #28847 from YeldhamDev/textedit_wrap_highlight_fix
Fix 'TextEdit's line wrapping being highlighted incorrectly
2019-05-23 07:45:17 +02:00
Michael Alexsander Silva Dias
de378ef012 Fix 'TextEdit's line wrapping being highlighted incorrectly
Fixes #22867.
2019-05-22 18:45:24 -03:00
Aaron Franke
7b6473fec5
[Mono] Misc Basis and AABB improvements 2019-05-22 15:23:51 -04:00
Pedro J. Estébanez
88153fbb61 Fix 2D bones ignored by onion skinning
Fixes #27819.
2019-05-22 20:40:57 +02:00
Andrii Doroshenko (Xrayez)
883ef8570a Expose 2D polygon boolean operations in Geometry singleton
Clipper 6.4.2 is used internally to perform polypaths clipping, as well
as inflating/deflating polypaths. The following methods were added:

```
Geometry.merge_polygons_2d(poly_a, poly_b) # union
Geometry.clip_polygons_2d(poly_a, poly_b) # difference
Geometry.intersect_polygons_2d(poly_a, poly_b) # intersection
Geometry.exclude_polygons_2d(poly_a, poly_b) # xor

Geometry.clip_polyline_with_polygon_2d(poly_a, poly_b)
Geometry.intersect_polyline_with_polygon_2d(poly_a, poly_b)

Geometry.offset_polygon_2d(polygon, delta) # inflate/deflate
Geometry.offset_polyline_2d(polyline, delta) # returns polygons

// This one helps to implement CSG-like behaviour:
Geometry.transform_points_2d(points, transform)
```

All the methods return an array of polygons/polylines. The resulting
polygons could possibly be holes which could be checked with
`Geometry.is_polygon_clockwise()` which was exposed to scripting as well.
2019-05-22 17:12:39 +03:00
Rémi Verschelde
fa5cc1da7a
Merge pull request #29003 from Xrayez/clipper-6.4.2-exceptions-fix
Build Clipper with `tools=no` and patch it to auto-disable exceptions
2019-05-22 15:58:24 +02:00
Rémi Verschelde
02bc82f9be
Merge pull request #29022 from mrcdk/preview_generator_fixes
Add some extra functions to EditorResourcePreviewGenerator
2019-05-22 12:16:32 +02:00
Andrii Doroshenko (Xrayez)
9bf48db891 Build Clipper with tools=no and patch it to auto-disable exceptions
Reverts "Build polygon clipper only in tools builds" (see #17319)
which allows to build Clipper with tools disabled (release) and because
of that, Clipper has to be patched to optionally disable exceptions in
order to be built on some platforms.

Patched Clipper 6.4.2 to be compiled with exceptions enabled/disabled.
and ensure that Clipper-specific exception macros are defined: don't use
exceptions by default unless exception handling is detected.

Compilation with exceptions will be determined by various
C++ exceptions defines:

* ` __cpp_exceptions` is part of C++ feature testing macros (since C++98);
* `__EXCEPTIONS` is used by some GNU compilers;
* `_CPPUNWIND` is used by MSVC.

The user can override specific exceptions behavior via corresponding
`*_USER` macros (i.e. compiling for embedded systems).
2019-05-22 13:12:21 +03:00
Rémi Verschelde
5fa3204008
Merge pull request #29096 from karroffel/gdnative-variant-evaluate-fix
[GDNative] fix godot_variant_evaluate function
2019-05-22 12:07:57 +02:00
Rémi Verschelde
db084811b4
Merge pull request #29087 from ibrahn/init-text-gui-vars
Initialize readonly/editable in LineEdit and TextEdit controls
2019-05-22 11:36:26 +02:00
Rémi Verschelde
bc17704fd7
Merge pull request #29085 from YeldhamDev/node2d_bones_undoredo
Add undo/redo to Node2D bone creation
2019-05-22 11:26:11 +02:00