Commit graph

2065 commits

Author SHA1 Message Date
Rémi Verschelde 2114898cb5
Merge pull request #31172 from creikey/add-array-slicing
Add array slice method
2019-09-23 15:26:27 +02:00
Michael Alexsander Silva Dias 5d03aa12c9 Expose LineEdit's 'right_icon' and fix icon size 2019-09-21 21:14:14 -03:00
Rémi Verschelde 2e065d8ad0
Merge pull request #32064 from m4gr3d/propagate_gl_surface_events
Notify for app pause and resume events on Android
2019-09-20 23:18:40 +02:00
Rémi Verschelde f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Hugo Locurcio 40a5de97e6
Remove an unused icon and constant in Tree 2019-09-20 17:50:13 +02:00
Rémi Verschelde 5ea6c9fd02
Merge pull request #32120 from KoBeWi/atlas_not_included
Mention that AnimatedTexture doesn't support atlases
2019-09-20 17:49:14 +02:00
Rémi Verschelde 6da3526cd4
Merge pull request #32118 from KoBeWi/the_point_is_global_bro
Mention that look_at() expects global coordinates
2019-09-20 17:48:43 +02:00
Rémi Verschelde 8fea4053b3
Merge pull request #32116 from KoBeWi/dupinit
Mention constructor arguments in duplicate() doc
2019-09-20 17:48:21 +02:00
Rémi Verschelde 55efada13a
Merge pull request #32102 from YeldhamDev/doc_animplayer_get_queue
Document AnimationPlayer's 'get_queue()' and 'caches_cleared'
2019-09-20 17:48:04 +02:00
Rémi Verschelde fd3d8f6627
Merge pull request #32101 from Xrayez/doc-fix-ambiguous-test-motion
Fix ambiguous method description regarding `body_test_motion` in 2D
2019-09-20 17:47:38 +02:00
Rémi Verschelde 34f9a4b765
Merge pull request #32127 from skyace65/skeletonupdate
Remove outdated information from skeleton class reference
2019-09-20 17:27:57 +02:00
Rémi Verschelde d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde fdc2463a1b
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
fhuya a7712cc9e4 Add new events and accompanying logic to notify when the app is paused and resumed on Android devices. 2019-09-19 13:29:49 -07:00
luz.paz 91ecd7b6a6 Fix misc. source comment typos
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde d55c840a0d
Merge pull request #32153 from Calinou/doc-improve-image-get-pixel
Improve the `Image.get_pixel()` and `Image.get_pixelv()` documentation
2019-09-19 20:13:50 +02:00
Tomasz Chabora cf2ae78956 Fix region editor for NinePatchRect 2019-09-17 19:26:20 +02:00
Hugo Locurcio 46d71ee2a1
Improve the Image.get_pixel() and Image.get_pixelv() documentation 2019-09-15 21:57:35 +02:00
Hugo Locurcio 40dd544994
Mention more caveats for custom mouse cursors in the documentation
See #32147 and #32148.
2019-09-15 21:14:40 +02:00
Cameron Reikes 757c509437 Add array slice method 2019-09-14 13:08:28 -07:00
Michael Alexsander Silva Dias 0dd4a2790f Document AnimationPlayer's 'get_queue()' and 'caches_cleared' 2019-09-14 09:04:47 -03:00
skyace65 96d6724b5d Remove outdated information from skeleton class reference 2019-09-13 16:04:01 -04:00
Tomasz Chabora 7d3374eecf Mention that AnimatedTexture doesn't support atlases 2019-09-13 14:04:57 +02:00
Tomasz Chabora 22ad5ce3cd Mention that look_at() expects global coordinates 2019-09-13 13:34:11 +02:00
Tomasz Chabora 7e8dd867da Mention constructor arguments in duplicate() doc 2019-09-13 13:05:13 +02:00
Andrii Doroshenko (Xrayez) 1d488e45fc Fix ambiguous method description regarding body_test_motion in 2D 2019-09-12 15:10:41 +03:00
Rémi Verschelde 4967f303f5
Merge pull request #31461 from IronicallySerious/add-vcs-integration
VCS integration for Godot Editor
2019-09-04 01:09:24 +02:00
Twarit 97959a53df Add an overridable VCS Interface for the editor
The VCS interface can be thought of like a proxy system, where any call
to the API is redirected to the actual implementation of the VCS API
which may be existing in the form of a GDNative plugin which is marked
as a singleton and is not marked reloadable. If the implementation
doesn't exist in the file system, it only returns the default responses which contain
mostly empty containers of the data type that every API call returns.

EditorVCSInterface is used like a Godot object with a script attached to it. The script
is the implementation of the API and the object is the interface to the
script, which returns default responses if the script doesn't exist or
if the script doesn't define a function that handles that particular API call.

The entire system has been implemented using Object::call() and its
ability to switch to the script instance to handle the API call if the
script exists. Look for VersionControlEditorPlugin::_initialize() for
the essential API setup.
2019-09-03 20:01:14 +05:30
Rémi Verschelde 4dfea5fc9c
Merge pull request #31389 from Calinou/add-node-comments
Add an `editor_description` property to Node for documentation purposes
2019-09-03 12:55:22 +02:00
Rémi Verschelde ad9f39108f
Merge pull request #31507 from YeldhamDev/button_icon_expand
Add feature to Button to make its icon expand/shrink with the button's size
2019-09-03 12:51:22 +02:00
Rémi Verschelde 2beea262be
Merge pull request #31571 from NeoSpark314/tonemapping_none_option
Don't clamp color to [0, 1] in Linear tonemapping
2019-09-02 18:41:53 +02:00
Rémi Verschelde 62c0185cb3
Merge pull request #31865 from Xrayez/geometry-remove-transform
Remove redundant transform method in Geometry singleton
2019-09-01 19:23:02 +02:00
Rémi Verschelde 75272881d9
Merge pull request #31862 from Chaosus/vs_custom_tutorial
Added link to tutorial for VisualShaderNodeCustom
2019-09-01 15:29:51 +02:00
Andrii Doroshenko (Xrayez) 08272585e9 Remove redundant transform method in Geometry singleton
Transform2D's xform method can be used instead which handles
`PoolVector2Array` now (as well as 3D version).
2019-09-01 14:34:51 +03:00
Rémi Verschelde c693b5a5bd
Merge pull request #31761 from Xrayez/trans2d-vector2array
Add transform methods for PoolVector*Array
2019-09-01 13:07:25 +02:00
Rémi Verschelde 69de1eca01
Merge pull request #31667 from YeldhamDev/geometry_point_circle_cleanup
Add 'is_point_in_circle()' to Geometry class, and general file cleanup
2019-09-01 12:59:49 +02:00
Chaosus89 040a75b826 Added link to tutorial for VisualShaderNodeCustom 2019-09-01 13:52:02 +03:00
Rémi Verschelde e5b7eb61b7
Merge pull request #31833 from Calinou/doc-improve-audiostream
Improve AudioStreamSample and AudioStreamGenerator documentation
2019-09-01 12:39:43 +02:00
Chaosus89 8fd8589547 Fix resizer icon visiblity on light theme in GraphNode 2019-09-01 09:12:26 +03:00
Hugo Locurcio b0c8d12a63
Improve AudioStreamSample and AudioStreamGenerator documentation
- Add a link to the audio generator demo in AudioStreamGenerator
  and AudioStreamGeneratorPlayback.
- Mention that signed PCM8 data is expected in AudioStreamSample
  (and how to convert unsigned PCM8 to signed PCM8).
2019-08-31 20:16:04 +02:00
Holger Dammertz aa3ef8893b Removed clamping of the Linear tonemapping when KEEP_3D_LINEAR
Changed the behaviour of the Linear tonemapping operator to not clamp to [0, 1] range
in the case when KEEP_3D_LINEAR is defined. This allows to render values > 1.0 in
floating point texture targets (via Viewport) for further processing or saving high
dynamic range data into files. This only works when no color conversion is active.
2019-08-29 18:14:19 +02:00
Michael Alexsander Silva Dias 9b09daa8c5 Add feature to Button to make its icon expand/shrink with the button's size 2019-08-29 11:25:00 -03:00
Rémi Verschelde 65d61d0360 doc: Sync classref with current source 2019-08-29 15:33:52 +02:00
Andrii Doroshenko (Xrayez) 07cff56f48 Add transform methods for PoolVector*Array
Similarly to `Vector2` and `Rect2` transforms in 2D and Vector3, Plane,
and AABB in 3D. PoolVector2Array and PoolVector3Array were the only
missing Variant types in both Transform2D and Transform respectively.
2019-08-29 14:47:33 +03:00
Rémi Verschelde a6b094cdfc
Merge pull request #31748 from Calinou/add-project-description
Add a project description setting
2019-08-29 11:09:28 +02:00
Michael Alexsander Silva Dias da5195fc92 Fix wrong offset in Button when alignment is set to left 2019-08-28 23:12:22 -03:00
Hugo Locurcio 5bd01bf637
Add a project description setting
The description is displayed as a tooltip when hovering the project
in the Project Manager. It can span multiple lines.

This partially addresses #8167.
2019-08-28 22:34:29 +02:00
Michael Alexsander Silva Dias 6cc54a5864 Add 'is_point_in_circle()' to Geometry class, and general file cleanup 2019-08-27 18:01:05 -03:00
Hugo Locurcio bc1b2b96e1
Tweak the default fog depth end to use a fixed value
The previous value (0) was a special case in the fog shader.
It made the shader use the Camera's `far` value as the fog depth end
value, which led to an inconsistency in the fog rendering between
the editor and a running project. This is because the editor camera
uses a `far` property of 500 by default, whereas the Camera node's
`far` property is set to 100 by default.

The new fixed value is equal to the default `far` property in Camera,
which leads to a consistent appearance between the editor and a running
project.

This closes #31686.
2019-08-27 18:32:05 +02:00
Rémi Verschelde 6b7117ce3f
Merge pull request #31662 from profan/perf/astar-reserve
Allow to reserve space for nodes in A* and elements in OAHashMap explicitly.
2019-08-27 10:09:08 +02:00