Rémi Verschelde
4ae78987b7
Merge pull request #22017 from YeldhamDev/errors_tab_changes
...
Add expand/collapse all buttons for the "Errors" tab
2018-09-13 11:21:31 +02:00
Rémi Verschelde
1259cbf13c
Merge pull request #21976 from Faless/http_client_eof_fix
...
Fix non chunked HTTP reading till eof.
2018-09-13 11:17:14 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
Michael Alexsander Silva Dias
3a9df46b90
Add expand/collapse all buttons for the "Errors" tab
2018-09-12 23:53:10 -03:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
f6481d1694
Revert "Drop deprecated compatibility methods from AnimatedSprite"
2018-09-13 02:32:51 +02:00
Guilherme Felipe
51e854846e
Fix default_cursor_shape for TextEdit
2018-09-12 13:26:51 -03:00
Rémi Verschelde
06667b2fcf
Merge pull request #21219 from AlexHolly/fix-textedit-shows-nothing
...
TextEdit update cache.size on ENTER_TREE
2018-09-12 17:41:12 +02:00
Rémi Verschelde
82a0e752df
Merge pull request #21877 from DualMatrix/richlabel
...
Fixed the remove_line function in richtextlabel. It was totally broken
2018-09-12 14:59:34 +02:00
Fabio Alessandrelli
ab0e610e86
Fix non chunked HTTP reading till eof.
2018-09-12 12:42:48 +02:00
Rémi Verschelde
74d80146ff
Merge pull request #21913 from DualMatrix/tween_remove_all
...
Fixed calling start() after remove_all() on tween not working
2018-09-12 11:01:19 +02:00
Rémi Verschelde
ead2c2eef2
Merge pull request #21705 from KellyThomas/tree-create-item
...
Change return value of Tree.create_item() from Object to TreeItem
2018-09-12 10:57:50 +02:00
Rémi Verschelde
0e8d31fdfa
Merge pull request #21654 from Calinou/textureprogress-transparent-tint
...
Allow transparent colors in TextureProgress tint properties
2018-09-12 10:51:23 +02:00
Rémi Verschelde
b0d2cc76c2
Merge pull request #21755 from akien-mga/particles-init-velocity
...
Particles: Reset default velocity to 0, allow negative values
2018-09-12 10:39:02 +02:00
Rémi Verschelde
158704fcaa
Merge pull request #21780 from akien-mga/animatedsprite-deprecated
...
Drop deprecated compatibility methods from AnimatedSprite
2018-09-12 10:38:37 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
DualMatrix
359198f137
Fixed calling start() emmediately after remove_all() on tween not wroking
...
Fixed calling start() emmediately after remove_all() on tween not wroking
Fixes #19901
2018-09-11 13:54:35 +02:00
Michael Alexsander Silva Dias
592eda7ad9
Fix MenuButton hover switching not happening with submenus open
2018-09-11 01:44:19 -03:00
Rémi Verschelde
6be11846b4
Merge pull request #21908 from JFonS/fix_18014
...
Clear cache after reimporting an ArrayMesh
2018-09-10 23:36:47 +02:00
Rémi Verschelde
efeb88b102
Merge pull request #21907 from JFonS/concave_collision_gizmo
...
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-10 23:36:07 +02:00
Rémi Verschelde
497853c383
Merge pull request #21882 from DualMatrix/animation_track
...
Fixed animation_player errors displaying wrong property.
2018-09-10 19:01:18 +02:00
Rémi Verschelde
e883edfac9
Merge pull request #21872 from Paulb23/fix_backwards_search
...
Fix backwards search in TextEdit selecting non-whole words, issue 15677
2018-09-10 18:52:35 +02:00
Rémi Verschelde
87e0563116
Merge pull request #21491 from AlexHolly/fix-textedit-uncomment-spamm
...
Uncommenting a selection was not updating the selection.
2018-09-10 18:48:41 +02:00
Rémi Verschelde
de8522aeb6
Merge pull request #21846 from Calinou/tweak-light-instance-error
...
Tweak the Light instantiation error message and fix a typo
2018-09-10 17:09:01 +02:00
Rémi Verschelde
584f1ab0c5
Merge pull request #21842 from merumelu/curve-point-count
...
Bind Curve::get_point_count
2018-09-10 16:49:09 +02:00
Rémi Verschelde
fd74dd15ad
Merge pull request #21820 from capnm/fix-GradientTexture-width-property
...
Set the lower bound for the GradientTexture width property to 1
2018-09-10 12:41:58 +02:00
JFonS
fdb6987eb4
Clear cache after reimporting an ArrayMesh
2018-09-09 20:58:15 +02:00
JFonS
216ba4cc8b
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-09 19:39:34 +02:00
Rémi Verschelde
2f6f920884
Drop deprecated compatibility methods from AnimatedSprite
...
They were deprecated in 2.1, but never properly identified as such
and thus never removed.
Fixes #21765 .
2018-09-09 15:25:49 +02:00
DualMatrix
bb58bcfff6
Fixed animation_player errors displaying wrong property.
...
Fixed animation_player errors displaying wrong property. It appears the cache wasn't created property.
This fixes #17718
2018-09-09 00:32:57 +02:00
DualMatrix
dd6074010c
Fixed the remove_line function in richtextlabel. It was totally broken
...
Fixed the remove_line function in richtextlabel. It was totally broken
This fixes #21037
2018-09-08 20:34:37 +02:00
Paulb23
e474b4a444
Fix backwards search in TextEdit selecting non-whole words, issue 15677
2018-09-08 14:54:41 +01:00
Paulb23
f051f5110e
Fixed scientific notaion not highlighting correctly, issue 21435
2018-09-08 13:42:11 +01:00
Alexander Holland
5cb66b2776
Uncommenting a selection was not updating the selection.
...
Also adds uncomment lines(ctrl+u) where # is not in first place
2018-09-08 14:21:15 +02:00
Hugo Locurcio
3f87f9b79c
Update Light properties in the inspector when dragging their gizmos
2018-09-07 22:59:55 +02:00
Hugo Locurcio
d789cbeb6b
Tweak the Light instantiation error message and fix a typo
2018-09-07 22:36:39 +02:00
Juan Linietsky
4b6846a59d
Ensure that tree_exited signal really happens after tree exited, fixes #19641
2018-09-07 15:31:53 -03:00
merumelu
334f042513
Bind Curve::get_point_count
2018-09-07 20:07:44 +02:00
Juan Linietsky
6ce9951d9e
Many fixes to gradient editor, which was pretty broken. Closes #19308
2018-09-07 13:49:10 -03:00
Juan Linietsky
74359a1d1e
Add a function to force transform update, fixes #17628
2018-09-06 20:38:16 -03:00
Martin Capitanio
3f01fd5180
Set the lower bound for the GradientTexture width property to 1
...
Fixes #21522
2018-09-07 01:29:58 +02:00
Juan Linietsky
39e8aca1b7
Update FOV if edited in gizmo, fixes #16400
2018-09-06 16:22:34 -03:00
Juan Linietsky
f6fbf841d5
Show a warning if you try to grab focus when not allowed, closes #15388
2018-09-06 13:32:34 -03:00
Juan Linietsky
47a4d78dbf
Only allow StreamTexture, ImageTexture in Light2D, closes #15194
2018-09-06 13:18:22 -03:00
Juan Linietsky
5307043751
Fixes to multimesh, added custom data and checks to avoid reconfiguring if instance count > 0. Fixes #12595
2018-09-05 19:15:59 -03:00
Rémi Verschelde
8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
...
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde
13c3b9e59b
Particles: Reset default velocity to 0, allow negative values
2018-09-04 15:35:11 +02:00
Rémi Verschelde
ab0d4fd762
Style: Format generated shader code in ParticlesMaterial
2018-09-04 13:21:53 +02:00
Rémi Verschelde
5fe01d4cfc
Move ParticlesMaterial code to its own resource file
...
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.
Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
JFonS
4a412943d4
Fix selection of instanced scenes in 3D
2018-09-02 22:31:03 +02:00
Kelly Thomas
3dc0d17c6f
Change return value of Tree.create_item() from Object to TreeItem
2018-09-03 03:33:52 +08:00
Rémi Verschelde
60570a5e60
PhysicsBody: Don't create PhysicsMaterial override for default friction/bounce
...
And don't save physics_material_override if null.
2018-09-02 15:08:43 +02:00
Michael Alexsander Silva Dias
cf183efbcf
Change some instances of args named "ev" to "event"
2018-09-01 17:03:41 -03:00
Hugo Locurcio
0b6c70fb59
Allow transparent colors in TextureProgress tint properties
2018-09-01 13:14:05 +02:00
Kelly Thomas
1dc8e7c05f
Improve ClassDB information for some some signal parameters
2018-09-01 18:05:51 +08:00
Michael Alexsander Silva Dias
8c74257d68
Make "Search Classes" dialog have relationship lines if the setting is enabled
2018-08-31 21:48:56 -03:00
Ranoller
0d33f4e9a2
Tileset: Bind autotile_set_size()/get_size().
...
Since this class is editor-oriented, this set_get is necessary to full implement tool, importer, etc... for tiles. (No other way to know a real tile size in autotile mode)
2018-08-30 20:56:38 +02:00
Rémi Verschelde
449fcc5a72
RayCast2D: Fix reporting old collider after collision ended
...
It now behaves the same as RayCast (3D).
Fixed documentation accordingly and documented new configuration options.
Supersedes and closes #20567 .
2018-08-30 16:28:48 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Juan Linietsky
cf834a22dc
Ported CPU particles to 2D
2018-08-29 16:48:55 -03:00
Rémi Verschelde
060988408b
Physics: Properly obsolete friction and bounce properties
...
Without this change any new PhysicsBody would show deprecation warnings
due to default values for friction and bounce being defined.
It also enforced a physics material override even when using default
values.
2018-08-29 18:44:42 +02:00
Marcelo Fernandez
20bea1e231
Unexpose TileMap set_celld
2018-08-29 09:00:00 -03:00
Rémi Verschelde
6c8aa939e4
Merge pull request #21539 from yurchor/master
...
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
Rémi Verschelde
3b01bf94ad
Fix operator precedence in PhysicsBody2D::set_weight
...
Fixes #16038 .
2018-08-29 08:37:08 +02:00
Webster Sheets
c522fe05e0
AtlasTexture fixes, part 2.
2018-08-27 15:24:56 -04:00
Juan Linietsky
2428ec6205
Merge pull request #21453 from BlackCatter/triplanar-detail-fix
...
Fix error using triplanar UV with detail map
2018-08-27 13:04:47 -03:00
Juan Linietsky
02d2676dc9
Merge pull request #21405 from SneakyMax/fix-animation-condition-advancing
...
Fix advancing based on condition in AnimationNodeStateMachinePlayback
2018-08-27 13:04:02 -03:00
Juan Linietsky
bca706b361
Revert "Fix some 3D texture issues"
2018-08-27 10:12:07 -03:00
Rémi Verschelde
87725e891d
Merge pull request #21481 from BastiaanOlij/bind_mesh_methods
...
Bound get surface functions on mesh
2018-08-27 15:06:45 +02:00
Bastiaan Olij
ca677090ff
Bound get surface functions on mesh
2018-08-27 21:49:27 +10:00
Rémi Verschelde
fa2c5bea3c
TileSet: Bind tile_set_shape_offset and getter
...
Fixes #21476 .
2018-08-27 11:09:11 +02:00
alex-poe
5cd00c3780
fix reinhard tonemapper, modified filmic tonemapper, added internal exposure bias
2018-08-27 10:08:38 +02:00
Rémi Verschelde
0ba84b3f23
Merge pull request #21467 from elasota/fix-3d-textures
...
Fix some 3D texture issues
2018-08-27 09:51:05 +02:00
elasota
30e20b6278
Partial fixes for 3D texture issues
2018-08-26 20:22:56 -04:00
Black Cat!
2fe4c5dda1
Fix error using triplanar UV with detail map
...
Fixes #18550
2018-08-26 21:58:52 +04:00
Andrea Catania
76d02b13a1
Fixed task creation with void chain in SkeletonIK
2018-08-26 12:41:20 +02:00
Alexander Holland
f2da51620d
TextEdit replaced cache.size with get_size()
2018-08-25 16:21:47 +02:00
Andy Brenneke
6714f73d9e
Fix advancing based on condition in AnimationNodeStateMachinePlayback
2018-08-25 03:17:19 -07:00
Rémi Verschelde
12290c172a
Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selection
...
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
2018-08-25 11:13:31 +02:00
Rémi Verschelde
4a5579bf78
Merge pull request #21358 from MidZik/master
...
Disable ability to copy or cut text from LineEdit if secret mode is enabled.
2018-08-25 11:05:37 +02:00
MrCdK
dafa4072fc
Expose the align property of the SpinBox's LineEdit control
2018-08-25 05:17:07 +02:00
Mariano Javier Suligoy
01d509b165
Backward compatibility for autotile setup from Godot 3.0.X
...
Fixes #20746
2018-08-24 22:59:08 -03:00
Pedro J. Estébanez
6d0f4a4ad7
Fix picking in CanvasLayer
...
New APIs in 2D physics allow intersection queries filtered by CanvasLayer object instance id. Viewport keep an inventory of its descendant CanvasLayers and takes advantage of all that to test picking with the mouse/touch position correctly transformed for each CanvasLayer.
2018-08-25 00:03:26 +02:00
Rémi Verschelde
f72f74486d
Merge pull request #21385 from groud/fix_itemlist_signal
...
Fix a mistake in itemlist multi_select signal
2018-08-24 23:28:05 +02:00
groud
5b5191ccf0
Fix a mistake in itemlist multiselect signal
2018-08-24 23:05:17 +02:00
Rémi Verschelde
6ce4078c5f
Merge pull request #20586 from AlexHolly/text-edit-auto-completion
...
text_edit auto_completion
2018-08-24 20:48:01 +02:00
Rémi Verschelde
9df480d68b
Merge pull request #21379 from volzhs/particle-mat
...
Make ParticlesMaterial included with disable_3d=yes option
2018-08-24 20:38:51 +02:00
volzhs
0e7178a740
Make ParticlesMaterial included with disable_3d=yes option
2018-08-25 02:23:40 +09:00
Rémi Verschelde
67b0d3c2dc
Particles: Allow speed_scale at 0 in property hint, equivalent to pause
...
Supersedes and closes #21193 .
2018-08-24 18:11:35 +02:00
Rémi Verschelde
77185aaf21
Merge pull request #21049 from AndreaCatania/joints
...
Improved 6DOF joint implementation
2018-08-24 17:10:54 +02:00
Rémi Verschelde
0b67d1665d
Style: Fix previous commits from @reduz
2018-08-24 16:50:29 +02:00
Juan Linietsky
f6c0a3fce9
Property clear caches in animationtree if animatioplayer is modified. Fixes #19876
2018-08-24 11:41:46 -03:00
Juan Linietsky
f41dddf069
missed outline size in previous commit
2018-08-24 11:22:17 -03:00
Juan Linietsky
c399c41dfb
Initalize font size to 16, closes #21165
2018-08-24 11:21:24 -03:00
Rémi Verschelde
f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
...
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde
dc09be4c57
Merge pull request #21156 from MednauN/atlas-texture-fix
...
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-24 15:30:59 +02:00
Juan Linietsky
683c3f2fcf
Avoid misuse of set_drag_preview() function where it shouldn't be. Closes #20100
2018-08-24 10:30:11 -03:00
Rémi Verschelde
571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
...
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
e22f0515c9
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 11:49:08 +02:00
MidZik
7aca4c32e2
Disable ability to copy or cut text from LineEdit if secret mode is enabled.
2018-08-24 04:45:05 -05:00
Juan Linietsky
34e58fd831
Added a function to cache texture opacity at a pixel, and modified editor to use it.
...
Provides massive speedups to selecting objects, still awaiting for @MarianoGNU to do fixes to the region editor to improve performance.
2018-08-23 22:11:10 -03:00
Rémi Verschelde
ab3716bd46
Revert "Take CanvasLayer transform into account for 2D physics"
...
This reverts commit 4839e5f6d9
.
Fixes #21289 .
2018-08-23 21:49:24 +02:00
Juan Linietsky
bffaa835fc
-Fix blend tree rename, closes #20210
...
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
Rémi Verschelde
df4dadafb7
Merge pull request #21328 from marcelofg55/bind_clipcam
...
Add missing BIND_ENUM_CONSTANT to ClippedCamera
2018-08-23 19:28:56 +02:00
Rémi Verschelde
524a795d50
Merge pull request #21326 from volzhs/remove-print-ansm-playback
...
Remove unnecessary print with AnimationNodeStateMachinePlayback
2018-08-23 19:28:46 +02:00
Marcelo Fernandez
f344763b58
Add missing BIND_ENUM_CONSTANT to ClippedCamera
2018-08-23 13:53:05 -03:00
volzhs
6a0a8bf814
Remove unnecessary print with AnimationNodeStateMachinePlayback
2018-08-24 01:29:19 +09:00
Juan Linietsky
a1b594c2fc
Switched AnimatedTexture to a readers-writers lock, solves a race condition and fixes #20221
2018-08-23 13:28:36 -03:00
Juan Linietsky
398c1c1c0c
Fix transform not being applied properly after toggling remote node, fixes #17671
2018-08-23 12:29:33 -03:00
Juan Linietsky
634673cf5b
Fix properly keep scale in RemoteTransform2D, fixes #17692 , closes #17690
2018-08-23 12:14:04 -03:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Juan Linietsky
334acc017f
Add distance based dithering to the default material.
2018-08-22 10:24:00 -03: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
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
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
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
Andrea Catania
0b98834b77
Added ray / shape / point / motion / rest cast exclusion of area and or body
2018-08-21 18:51:08 +02: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
35d232b100
Merge pull request #21228 from Noshyaar/docs-bind
...
Fix arg name in docs, some copy-paste errors
2018-08-21 00:08:05 +02:00
Juan Linietsky
031f763d4f
Crash fixes for material and animtree
2018-08-20 16:35:36 -03:00
Poommetee Ketson
76adef2704
Fix arg name in docs, some copy-paste errors
2018-08-21 01:51:19 +07:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
...
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Juan Linietsky
1b66b08fdb
Merge pull request #20908 from AndreaCatania/kiSlope
...
Improved move_and_slide function stay on slope
2018-08-20 13:24:28 -03:00
Alexander Holland
0889d7e589
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also changed confusing naming.
2018-08-20 17:48:28 +02:00
Chaosus
a6e51c8aa1
Fix crash when setting Material's next pass to itself
2018-08-19 21:27:09 +03:00
Andrea Catania
0010d9c82a
Added ray shape and move_and_slide with snapping on 3D.
...
Added stop_on_slope on 2d part
2018-08-19 13:45:23 +02:00
Rémi Verschelde
238a78f13f
Fix compiling SkeletonIK with disable_3d
...
Fixes #20825 .
2018-08-19 12:09:41 +02:00
pesets
15af0e9ec8
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-18 23:06:38 +07:00
DualMatrix
2b13938459
Fixed !is_inside_tree() errors in file dialog
...
Fixed !is_inside_tree() errors appearing when current_file has a . in it.
2018-08-18 16:52:15 +02:00
Andrea Catania
9826456f2e
Improved move_and_slide function to stay on slope and fall on steep slope
2018-08-18 15:11:51 +02:00
Rémi Verschelde
0fbc5b3bbf
Merge pull request #21085 from akien-mga/physical_material_ext
...
Change PhysicsMaterial extension to phymat
2018-08-18 15:02:05 +02:00
QbieShay
bb14ef5623
added spring arm node.
2018-08-18 14:34:42 +02:00
Rémi Verschelde
099f74584a
Bind ItemList's item_custom_fg_color methods
...
Fixes #21086 .
2018-08-17 13:46:33 +02:00
Natrim
6ad0f4ebe8
Particles2D: fix editing Visibility Rect from inspector
...
+ renamed generate_aabb to generate_visibility_rect to prevent future confusions
2018-08-17 12:25:48 +02:00
Rémi Verschelde
68676c774d
Merge pull request #21091 from hpvb/fix-removing-popup-menu-item
...
Call minimum_size_changed() in PopupMenu::remove_item()
2018-08-17 02:27:16 +02:00
Hein-Pieter van Braam
2d032c1562
Call minimum_size_changed() in PopupMenu::remove_item()
...
When removing an item from a PopupMenu we need to update the control's
size cache otherwise the size of the PopupMenu itself lags behind by 1
item size. Meaning the PopupMenu will remain too large.
2018-08-16 21:51:41 +02:00
Hein-Pieter van Braam
fa7eac8a0d
Delay emitting pressed signals in PopupMenu
...
When processing items we may actually delete the item we're processing
in the callback for the signal. To avoid this, call the signal after
we're done processing the items. But before hiding the popupmenu itself.
Thanks to @reduz for writing the whole solution.
This fixes #19842
2018-08-16 21:44:18 +02:00
Rémi Verschelde
17b2d808de
Change PhysicsMaterial extension to phymat
...
All other binary extensions are lowercase.
2018-08-16 19:19:23 +02:00
Rémi Verschelde
a2abe760c8
Merge pull request #21047 from gotnospirit/fix_tween_reversed_duration
...
Tween: Always remove the desired InterpolateData when finished
2018-08-16 18:30:41 +02:00
Tristan Porteries
e5bfa98d0f
Expose bullet shape margin to UI.
...
The margin value is exposed into the UI for shape ressource.
This value can be modified through set_margin and get from get_margin
or by using the property margin. Each time the margin is modified
the associated collision shape is recreated and the margin value is
used in ShapeBullet::prepare.
2018-08-16 16:58:15 +02:00
James
4c2f9c19b8
Tween: Add a unique identifier to InterpolateData to be able to remove the right one when finished
2018-08-16 15:59:35 +02:00
Rémi Verschelde
9e4d1512db
Merge pull request #21075 from akien-mga/rotation_degrees_range
...
Lift 1440 limit in rotation_degrees hint range
2018-08-16 15:23:03 +02:00
Rémi Verschelde
968886768b
Lift 1440 limit in rotation_degrees hint range
...
Fixes #15947 .
2018-08-16 14:36:38 +02:00
Rémi Verschelde
c78bbfa669
Fix type of Range allow_greater/allow_lesser properties
2018-08-16 14:24:17 +02:00
Andrea Catania
b5480634c3
Added possibility to create joints with only one body
2018-08-16 08:23:08 +02:00
Ovnuniarchos
9d0de7d417
PopupMenu item_pressed is sent before checking hide flags.
2018-08-16 07:22:18 +02:00
Juan Linietsky
c627f3a707
Attempting to workaround the problem present in #20904 , let me know if it works.
2018-08-15 13:24:52 -03:00
volzhs
4e9795aa99
Fix not to show configuration warning on every node has script
2018-08-15 21:35:06 +09:00
Juan Linietsky
d7a9a224fd
Revert "Fix border artifacts at the edge of deep parallax."
2018-08-14 20:33:50 -03:00
Juan Linietsky
4e55835e48
Merge pull request #18096 from aaronfranke/master
...
[Core] Split up math_2d.h
2018-08-14 18:58:32 -03:00
Rémi Verschelde
d6058b967d
Merge pull request #20906 from Chaosus/rrect_fix
...
Fix ReferenceRect border
2018-08-14 23:31:48 +02:00
Alexander Holland
6d684aae8a
text_edit auto_completion
...
replaced "similarity filter" with "sequential checks" this give more control over the desired filtering.
2018-08-14 22:45:10 +02:00
Juan Linietsky
ef5095720b
-Deprecate ImageTexture::load
...
-Add warning to Image::load when loading resources
-Add script binding for get_configuration_warning
2018-08-14 16:53:20 -03:00
Rémi Verschelde
c0137db762
Merge pull request #20665 from SaracenOne/animation_tree_control
...
Add method to manually advance AnimationTree and manual process mode.
2018-08-14 15:54:20 +02:00
Rémi Verschelde
2ae7c67322
Merge pull request #20844 from gotnospirit/fix_tween_memory_leak
...
interpolation was not removed because of id mismatch
2018-08-14 15:44:26 +02:00
Rémi Verschelde
a3d0b89892
Merge pull request #20876 from ttencate/cursor_blink
...
Reset caret blink when Ctrl+moving the cursor
2018-08-14 15:42:19 +02:00
Rémi Verschelde
ccf5a50250
Fix comments indentation
2018-08-14 14:30:15 +02:00
Rémi Verschelde
e651102b6f
Merge pull request #20860 from guilhermefelipecgs/fix_border_artifact
...
Fix border artifacts at the edge of deep parallax.
2018-08-14 09:45:38 +02:00
Rémi Verschelde
98da0df894
Merge pull request #20982 from hpvb/fix-19842
...
Emit pressed events after processing items
2018-08-14 09:37:54 +02:00
Rémi Verschelde
ac2add26a1
Merge pull request #20981 from gotnospirit/case_aware_autocomplete
...
Case-aware autocomplete: prefer same case candidates
2018-08-14 09:37:15 +02:00
Rémi Verschelde
e6b8963aae
Merge pull request #20947 from oisincar/get_bone_ix
...
Expose PhysicalBone::get_bone_id() to c#/gdscript
2018-08-14 09:32:18 +02:00
Hein-Pieter van Braam
868efb8184
Emit pressed events after processing items
...
When processing items we may actually delete the item we're processing
in the callback for the signal. To avoid this, call the signal after
we're done processing the items.
This fixes #19842
2018-08-13 21:55:26 +02:00
James
109028f52b
Editor autocomplete: prefer same case candidates
2018-08-13 20:45:33 +02:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Rémi Verschelde
9ce33978db
Merge pull request #20666 from Calinou/script-editor-underline-hidpi
...
Scale underlines in the script editor with the editor scale
2018-08-13 12:21:23 +02:00
Rémi Verschelde
2062d6126d
Merge pull request #20587 from groud/fix_2deditor_scrollable_zone
...
Fixes bugs on the 2D editor scrollable area
2018-08-13 09:03:34 +02:00
oisincar
b684116b60
Expose PhysicalBone::get_bone_id() to c#/gdscript
2018-08-12 19:29:51 +01:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Aaron Franke
cf136a91d6
[Core] Completely kill math_2d.h, change includes
2018-08-11 03:08:34 -05:00
Chaosus
aaf62fcecc
Fix ReferenceRect border
2018-08-11 10:37:03 +03:00
Juan Linietsky
0fc1c4eda8
Merge pull request #20149 from Overblob/shader_float_typing
...
Shader language - Add optional float typings
2018-08-10 18:21:28 -03:00
Aaron Franke
28fc195339
[Core] Change math_2d includes to vector2 includes where relevant
2018-08-10 14:59:29 -05:00
Juan Linietsky
52e6f1f25c
Merge pull request #20072 from RandomShaper/fix-camera-offsets
...
Fix camera offsets not applied always
2018-08-10 16:24:39 -03:00
Juan Linietsky
7e33b2085c
Merge pull request #20861 from RandomShaper/improve-bitmap
...
Improve BitMap: expose methods + prevent stack overflow
2018-08-10 15:58:53 -03:00
Pedro J. Estébanez
b48d421ca0
Transform fill_bits from recursive to iterative
...
Avoids crashes when generating polygons from big bitmaps.
2018-08-10 18:57:44 +02:00
Pedro J. Estébanez
42bf5cd790
Expose additional BitMap methods
...
Bonus: Restrict debug prints to debug builds
2018-08-10 18:57:44 +02:00
Juan Linietsky
b9730a6956
Make line edit always vertically aligned, makes no sense otherwise. Fixes #17188
2018-08-10 13:15:26 -03:00
Juan Linietsky
c02fb271fd
apply a threshold for floor angle, fixes #16037 , fixes #15632
2018-08-10 13:07:52 -03:00
Thomas ten Cate
44d761e55c
Reset caret blink when Ctrl+moving the cursor
...
There was a hardcoded exception to never reset caret blinking if Ctrl
(`command`) was pressed. This broke on Ctrl+arrows,
Ctrl+Home/End/PgUp/PgDn, Ctrl+C, Ctrl+V, Ctrl+Backspace and Ctrl+Delete.
Resetting blink only for those Ctrl operations that actually touch the
cursor somehow would clutter the code a lot, so I removed the check
entirely. That means we now also reset blinking on unrelated operations
like Ctrl+O, but that seems pretty harmless. I actually like the
additional bit of feedback even in that case (most of these will
immediately defocus the editor anyway, so you never see it).
Fixes #18100
2018-08-10 11:23:13 +02:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Guilherme Felipe
85f4d33276
Fix border artifacts at the edge of deep parallax.
2018-08-09 20:24:52 -03:00
Juan Linietsky
fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
...
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
James
796088a911
interpolation was not removed because of id mismatch
2018-08-09 14:48:56 +02:00
Juan Linietsky
913a7dbd8f
Merge pull request #20787 from Calinou/tweak-default-material-properties
...
Tweak the default SpatialMaterial properties
2018-08-08 09:44:31 -03:00
Juan Linietsky
9bd5315d30
Merge pull request #20786 from groud/skybox_default_change
...
Changes the default skybox to avoid the blue shade
2018-08-07 15:35:04 -03:00
Juan Linietsky
14fd797c53
Merge pull request #20381 from AndreaCatania/phymat_2
...
Improved Physics material
2018-08-07 15:31:26 -03:00
Andrea Catania
5e65e28eed
Removed physics material combination mode. Added rough and absorbent parameter to material. Fixed 'change' signal connection
2018-08-07 19:38:04 +02:00
Juan Linietsky
254eb46de3
Several improvements to inspector.
...
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Hugo Locurcio
31c12f05c4
Tweak the default SpatialMaterial properties
...
Roughness is now set to 1 by default and albedo is now white,
even on meshes that do not have any materials defined.
This means there is no longer a visual difference between a
mesh with no materials defined and a mesh with a default
SpatialMaterial defined.
2018-08-07 17:04:30 +02:00
groud
8af2047966
Changes the default skybox to avoid the blue shade
2018-08-07 14:47:59 +02:00
Juan Linietsky
5b70ad9d34
Respect process order for out of order skeleton bones (fixes GLTF2 import issues).
2018-08-06 22:35:09 -03:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Juan Linietsky
07a982e614
Merge pull request #20597 from karroffel/tex3d
...
add 3D textures
2018-08-06 07:20:00 -03:00
Juan Linietsky
d5d83b754d
Ensure index is only saved when scene is inherited, or parent node is not from the edited scene. Closes #17562 .
2018-08-05 11:58:13 -03:00
Andrea Catania
4073e44332
Fixed typo in SkeletonIK
2018-08-04 19:35:53 +02:00
Juan Linietsky
7c712a25bc
Merge pull request #18699 from AndreaCatania/ik
...
Inverse kinematic
2018-08-04 10:45:14 -03:00
Andrea Catania
c1860fe88b
Fixed process priority
2018-08-04 14:51:44 +02:00
AndreaCatania
b7e66188df
Implemented IK
2018-08-04 11:25:07 +02:00
Andrea Catania
b469267d94
Fixed SoftBody pinned point offset calculation
2018-08-03 17:44:09 +02:00
Hugo Locurcio
501fc98c63
Scale underlines in the script editor with the editor scale
2018-08-02 09:38:56 +02:00
Saracen
c55e269bfa
Add method to manually advance AnimationTree and manual process mode.
2018-08-02 08:29:51 +01:00
Max Hilbrunner
3f01f40e91
Merge pull request #20550 from AndreaCatania/soft_fix
...
Soft Body - Pin Point fix, Material fix
2018-07-30 17:01:25 +02:00
Thomas Herzog
b4d3f541e7
add 3D textures
2018-07-30 12:20:27 +02:00
Juan Linietsky
15db793ef2
Ensure process notification is received only if really enabled, fixes #7894
2018-07-29 21:20:41 -03:00
Juan Linietsky
aff57a613b
Add extra functions to toggle bits in visualinstance and camera, same as physics. Helps with #6685
2018-07-29 20:05:16 -03:00
groud
eb7f4ddcce
Fixes bugs on the 2D editor scrollable area
2018-07-30 01:05:13 +02:00
Juan Linietsky
200c6cf630
Perform a name check when loading scenes and running on editor, fixes #6152
2018-07-29 17:39:45 -03:00
Andrea Catania
7949ba771b
SoftBody add MeshInstance Material correctly
2018-07-29 19:36:32 +02:00
Juan Linietsky
c752c26427
Expose _clips_input as a virtual function, closes #15358
2018-07-29 12:48:17 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
...
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Andrea Catania
45160f0c0d
Fixed Softbody pin point
2018-07-28 20:38:20 +02:00
Ibrahn Sahir
1626ae6421
fixed uninitialised variable that was causing menu crash.
2018-07-28 18:09:47 +01:00
Bastiaan Olij
d41a4089c6
Added a method to find the index for a surface with a given name
2018-07-28 19:14:41 +10:00
Rémi Verschelde
12254594ac
Fix PhysicsBody build with deprecated=no
...
Fixes #20483 .
2018-07-27 15:34:58 +02:00
Juan Linietsky
6a5aec3644
Rename flag to better name
2018-07-27 08:59:18 -03:00
Rémi Verschelde
7056dc6011
Merge pull request #20498 from Calinou/caret-width-hidpi
...
Make the caret thicker in TextEdit and scale it with the editor scale
2018-07-27 09:01:58 +02:00
Hugo Locurcio
f8a2cb3e15
Multiply TextEdit line spacing by the editor scale
...
This makes sure the default line spacing in the script editor
is consistent with the editor scale in use.
2018-07-26 23:50:16 +02:00
Hugo Locurcio
8d05f89bc1
Make the caret thicker in TextEdit and scale it with the editor scale
...
The caret in LineEdit is still 1 pixel thick, but it will become
2 pixels thick at editor scales higher than or equal to 150%.
2018-07-26 23:43:43 +02:00
Rémi Verschelde
91d6fa817e
Merge pull request #15967 from Gamblify/AudioRecordingModule
...
Audio Recording from godot
2018-07-26 15:37:19 +02:00
Ian
1bb13e95a8
context menu improvements
2018-07-26 08:58:35 -04:00
Gustav Lund
adb43b6976
AudioStreamSample can now be saved to a WAV file
...
8 and 16 bit sample saving has been implemented.
2018-07-26 14:14:39 +02:00
Gustav Lund
cd2070c684
Audio Recording module
...
Implements an Audio bus effect that outputs the audio from the bus into a wav file
Now channels audio recording into an AudioStreamSample instead of saving to wav
2018-07-26 14:14:29 +02:00
Rémi Verschelde
391e46830f
doc: Sync classref with current source
...
Fix various missing arguments in bindings.
2018-07-26 11:56:21 +02:00
Rémi Verschelde
5c8919aac6
Merge pull request #18955 from tagcup/fix_set_scale
...
Removed incorrect Basis::set_scale().
2018-07-26 10:37:03 +02:00
Rémi Verschelde
39168f125e
Merge pull request #19464 from bojidar-bg/19448-fix-subproperty-handling
...
Fix bug in animationplayer editor not using subproperties properly
2018-07-26 10:31:05 +02:00
JFonS
0052ee70d2
Added keep scale flag to billboard materials
2018-07-26 09:34:12 +02:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Max Hilbrunner
46985ae075
Merge pull request #20440 from Chaosus/fixtexturecrash
...
Fix game crash when you pass invalid or null parameter to ImageTexture.set_data
2018-07-25 12:00:49 +02:00
Chaosus
bde962dbdd
Fix crash when you pass invalid parameter to ImageTexture.set_data
2018-07-25 12:23:34 +03:00
Rémi Verschelde
f778bd8e69
Merge pull request #20404 from TigerCaldwell/master
...
Ensured consistency between RigidBody, PhysicsDirectBodyState, PhysicsServers and their 2D counterparts
2018-07-25 08:25:34 +02:00
Rémi Verschelde
f8e8ac2c66
Merge pull request #20133 from ibrahn/fix-tree-uninit-branch
...
fixed a branch on uninitialised data in gui/tree
2018-07-25 01:18:39 +02:00
Rémi Verschelde
3ecb25a283
Merge pull request #19726 from guilhermefelipecgs/feature_add_menu_hover
...
Opens the menu with the same parent on mouse focus
2018-07-25 01:05:37 +02:00
Guilherme Felipe
d1f5deabd8
Opens the menu with the same parent on mouse focus
2018-07-24 19:59:40 -03:00
Juan Linietsky
2e67fc57e6
Merge pull request #18867 from fire/better_vx_us_rebase_02
...
Improve VisualScript UX
2018-07-24 18:02:10 -03:00