summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-24Expose 2D Delaunay triangulation in Geometry singletonAndrii Doroshenko (Xrayez)
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-23Merge pull request #28738 from 2shady4u/masterRémi Verschelde
Added native binding for dictionary duplication
2019-05-23Merge pull request #29031 from BastiaanOlij/alpha_shadowRémi Verschelde
Implement shadow to opacity
2019-05-23Merge pull request #28987 from Xrayez/geometry-clipper-bindRémi Verschelde
Expose 2D polygon boolean operations in Geometry singleton
2019-05-23Added native binding for dictionary duplicationshaderbeast
Added entry in gdnative_api.json Added function to header as well Fixed versioning
2019-05-23Merge pull request #29109 from RandomShaper/fix_onion_skinningRémi Verschelde
Fix onion skinning
2019-05-23Merge pull request #28847 from YeldhamDev/textedit_wrap_highlight_fixRémi Verschelde
Fix 'TextEdit's line wrapping being highlighted incorrectly
2019-05-22Fix 'TextEdit's line wrapping being highlighted incorrectlyMichael Alexsander Silva Dias
Fixes #22867.
2019-05-22Fix 2D bones ignored by onion skinningPedro J. Estébanez
Fixes #27819.
2019-05-22Expose 2D polygon boolean operations in Geometry singletonAndrii Doroshenko (Xrayez)
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-22Merge pull request #29003 from Xrayez/clipper-6.4.2-exceptions-fixRémi Verschelde
Build Clipper with `tools=no` and patch it to auto-disable exceptions
2019-05-22Merge pull request #29022 from mrcdk/preview_generator_fixesRémi Verschelde
Add some extra functions to EditorResourcePreviewGenerator
2019-05-22Build Clipper with `tools=no` and patch it to auto-disable exceptionsAndrii Doroshenko (Xrayez)
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-22Merge pull request #29096 from karroffel/gdnative-variant-evaluate-fixRémi Verschelde
[GDNative] fix godot_variant_evaluate function
2019-05-22Merge pull request #29087 from ibrahn/init-text-gui-varsRémi Verschelde
Initialize readonly/editable in LineEdit and TextEdit controls
2019-05-22Merge pull request #29085 from YeldhamDev/node2d_bones_undoredoRémi Verschelde
Add undo/redo to Node2D bone creation
2019-05-22Merge pull request #29098 from akien-mga/lf-utf8Rémi Verschelde
Update gitattributes to enforce LF, fix UTF-8 misencoding of thirdparty files
2019-05-22Merge pull request #29074 from YeldhamDev/theme_editor_panel_fixRémi Verschelde
Fix bottom panel visibility behaviour in the theme editor
2019-05-22Fix non UTF8-encoded thirdparty filesRémi Verschelde
2019-05-22Merge pull request #29095 from Chaosus/exp_focusYuri Roubinsky
Makes the expression node to apply only when the focus leaves out
2019-05-22Update .gitattributes to encompass all text filesRémi Verschelde
2019-05-22[GDNative] fix godot_variant_evaluate functionthomas.herzog
Fixes #28984
2019-05-22Makes the expression node to apply expression only when the focus leaves outChaosus
2019-05-21Initialize readonly/editable in LineEdit and TextEdit controlsIbrahn Sahir
2019-05-21Add undo/redo to Node2D bone creationMichael Alexsander Silva Dias
2019-05-21Merge pull request #29079 from neikeq/oopsieIgnacio Roldán Etcheverry
Fix C# build error in MarshalUtils debug code
2019-05-21Merge pull request #29076 from Chaosus/express_fixes2Yuri Roubinsky
Fix expression node parsing when input_port + \0 is occured
2019-05-21Merge pull request #29052 from neikeq/fixes-28667------i-thinkIgnacio Roldán Etcheverry
Replace call to 'mono_runtime_object_init' with manual ctor invoking
2019-05-21Fix C# build error in MarshalUtils debug codeIgnacio Etcheverry
2019-05-21Fix expression node parsing when input_port + \0 is occuredChaosus
2019-05-21Merge pull request #29073 from Chaosus/express_fixesYuri Roubinsky
Fix few bugs in expression node
2019-05-21Fix bottom panel visibility behaviour in the theme editorMichael Alexsander Silva Dias
Fixes #29034, fixes #29056
2019-05-21Fix few bugs in expression nodeChaosus
2019-05-21Merge pull request #29018 from guilhermefelipecgs/fix_28969Rémi Verschelde
[StateMachine] Fix error message for travel method
2019-05-21Merge pull request #29032 from akien-mga/tools-exceptions-rttiRémi Verschelde
SCons: Keep exceptions and rtti on Android, iOS and HTML5 tools build
2019-05-21Merge pull request #28838 from Chaosus/vs_expRémi Verschelde
Expression node for visual shaders
2019-05-21Merge pull request #29040 from swarnimarun/fix_override_bugRémi Verschelde
Clear overrides on passing null
2019-05-21Merge pull request #29041 from hbina/add_constRémi Verschelde
add const to methods that return literals
2019-05-21Merge pull request #29062 from swarnimarun/theme-editor-improvementsRémi Verschelde
Fix Theme Editor Preview
2019-05-21Merge pull request #28964 from Faless/webrtc/channels_prRémi Verschelde
WebRTC refactor. data channels, STUN/TURN support.
2019-05-21doc: Sync classref with current sourceRémi Verschelde
2019-05-21i18n: Sync translation template with current sourceRémi Verschelde
(cherry picked from commit bf7585530ba29959b2e3316db959170ba321ed61)
2019-05-21i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 239a11fe1918b1009875078bb30f9176360e983c)
2019-05-21Implement shadow to opacityBastiaan Olij
2019-05-21Merge pull request #29050 from hbina/redundant_null_checksRémi Verschelde
removed a redundant null check in assimp editor
2019-05-21Expression node for visual shadersChaosus
2019-05-21Fix Theme Editor PreviewSwarnim Arun
2019-05-21Merge pull request #29011 from zann1x/masterRémi Verschelde
Initialize padding on PoolByteArray serialization
2019-05-21Merge pull request #29046 from volzhs/tree-page-downRémi Verschelde
PageDown key selects last one when left items count is short
2019-05-21PageDown key selects last one when left items count is shortvolzhs