Commit Graph

30344 Commits

Author SHA1 Message Date
Andrii Doroshenko (Xrayez) ac69f092fc Fix `List` swap behavior on front, back and adjacent elements
- immediately return if A == B;
- first and last elements (front, back) are updated upon relinking;
- handles a special case of forward and backward adjacent elements.
2020-09-12 23:58:56 +03:00
Rémi Verschelde 463879db56
Merge pull request #41995 from Rubonnek/disconnect-item-rect-changed
Disconnect item_rect_changed removing a child of GraphEdit
2020-09-12 15:26:46 +02:00
Rémi Verschelde f29c112492
Merge pull request #41841 from madmiraal/fix-bit-fields
Remove bit fields and use fixed width integers instead.
2020-09-12 12:28:59 +02:00
Yuri Roubinsky 8c80c47ba0
Merge pull request #42003 from Chaosus/vs_fix_mode
Update shader graph if mode is changed
2020-09-12 12:56:06 +03:00
Yuri Roubinsky c24e2075cd Update shader graph if mode is changed 2020-09-12 12:44:01 +03:00
Wilson E. Alvarez d370ae9e1f
Disconnect item_rect_changed when removing a child of GraphEdit 2020-09-11 17:37:20 -04:00
Rémi Verschelde 4566db2a16
Merge pull request #41988 from ebrahimebrahim/master
Clarify get_data Image method
2020-09-11 17:39:57 +02:00
Yuri Roubinsky deab76de22
Merge pull request #41986 from Chaosus/vs_fix_triplanar_texture
Fix triplanar texture code generation in visual shaders
2020-09-11 18:35:20 +03:00
Yuri Roubinsky ca9b3e929b Fix triplanar texture code generation in visual shaders 2020-09-11 18:23:26 +03:00
Ebrahim Ebrahim b9764b6109 Clarify get_data Image method 2020-09-11 11:10:18 -04:00
Rémi Verschelde e49d25bac0
Merge pull request #41976 from Xrayez/gdnative-tests-string
Move GDNative `String` tests to respective module
2020-09-11 15:24:55 +02:00
Yuri Roubinsky 01191178bf
Merge pull request #41955 from Chaosus/vs_performance_fix3
Improve performance of Add/Remove/Connect/Change nodes in visual shader
2020-09-11 16:24:11 +03:00
Rémi Verschelde 4b846ebc56
Merge pull request #41977 from madmiraal/fix-vector_h
Add missing reference to const T Vector::get().
2020-09-11 15:02:11 +02:00
Yuri Roubinsky 8dbf3d7c44 Improve performance of Add/Remove/Connect/Change nodes in visual shader 2020-09-11 15:45:18 +03:00
Andrii Doroshenko (Xrayez) 174b6e817f Move GDNative `String` tests to respective module
GDNative-specific tests moved out of main `tests/` folder into
`modules/gdnative/tests`.

Include path for GDNative headers are still hardcoded in `tests/SCsub`,
but made conditional now.

Also fixed test case tag typos.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-11 14:51:38 +03:00
Rémi Verschelde 9924d6ef6b
Merge pull request #41965 from lyuma/shadow_attenuation
Fix ATTENUATION and implement SHADOW_ATTENUATION.
2020-09-11 13:44:34 +02:00
Rémi Verschelde e00d77f5f3
Merge pull request #41975 from madmiraal/remove-unused-variables
Remove unused Python local variables.
2020-09-11 13:04:49 +02:00
Marcel Admiraal 4feba93630 Add missing reference to const T Vector::get(). 2020-09-11 11:58:47 +01:00
Marcel Admiraal 3070d0b735 Remove unused Python local variables. 2020-09-11 11:39:15 +01:00
Rémi Verschelde a2a78a8066
doc: Sync classref with current source
Bind missing enums.
2020-09-11 12:22:10 +02:00
Marcel Admiraal 1bb65b2618 Remove bit fields and use fixed width integers instead. 2020-09-11 11:02:00 +01:00
Rémi Verschelde 9d9ee2d4c2
Merge pull request #41971 from nekomatata/richtextlabel-align-pointer
Fix RichTextLabel alignment for clickable regions
2020-09-11 09:39:48 +02:00
PouleyKetchoupp b783fa1416 Fix RichTextLabel alignment for clickable regions
Fixes #41006 (regression from #39164).

The original alignment fix was limited to PROCESS_DRAW mode, which
caused some discrepancies with PROCESS_POINTER mode.
Now only PROCESS_CACHE is excluded with a condition a few lines above.
2020-09-11 08:14:26 +02:00
Lyuma 2f888d2987 Fix ATTENUATION and implement SHADOW_ATTENUATION. 2020-09-10 15:45:56 -07:00
Rémi Verschelde beb9ebcda0
Merge pull request #40973 from Paulb23/code_edit
Add CodeEdit and TextEdit gutter system
2020-09-10 22:02:44 +02:00
Paulb23 c0da97d29c Remove breakpoints from editor settings 2020-09-10 20:35:28 +01:00
Paulb23 33ab9cd621 Move safe line color into editor 2020-09-10 20:35:28 +01:00
Paulb23 d18a90b8f0 Move ConnectionGutter to editor code_editor 2020-09-10 20:35:28 +01:00
Paulb23 7829fdc1d0 Add folding gutter to code_edit 2020-09-10 20:35:28 +01:00
Paulb23 4d7df24d46 Add main_gutter (breakpoints, bookmarks, execution lines) to code_edit 2020-09-10 20:35:28 +01:00
Paulb23 907f9f2a84 Changed line_edited_from(from) to lines_edit_from(from, to) 2020-09-10 20:35:28 +01:00
Paulb23 1353ed5e44 Added Line numbers to CodeEdit 2020-09-10 20:35:28 +01:00
Paulb23 c13d9eb6e5 Added gutter system to TextEdit 2020-09-10 20:35:28 +01:00
Paulb23 a0b409cb14 Add and convert editor to use CodeEdit 2020-09-10 20:35:27 +01:00
Rémi Verschelde d782405bcf
Merge pull request #41957 from skyace65/SpriteFrames
Improve SpriteFrames get_animation_loop description
2020-09-10 21:22:00 +02:00
skyace65 d311c48d6a Improve SpriteFrames get_animation_loop description 2020-09-10 15:08:42 -04:00
Rémi Verschelde 0819657c3b
Merge pull request #41954 from Calinou/raycast-rename-cast-to
Rename RayCast's `cast_to` property to `target_position`
2020-09-10 19:19:59 +02:00
Hugo Locurcio a706c22db7
Rename RayCast's `cast_to` property to `target_position`
`cast_to` is sometimes mistaken as a method rather than a property.
`target_position` makes it more obvious that it's a property.
2020-09-10 19:06:56 +02:00
Rémi Verschelde 43930aaa28
Merge pull request #41806 from AndreaCatania/AndreaCatania-patch-4
Avoid adding margin twice along capsule Y axis
2020-09-10 17:47:20 +02:00
Rémi Verschelde e95a973045
Merge pull request #41951 from Yetizone/update_header_guard
scene_tree.h: Update header guard
2020-09-10 16:57:15 +02:00
Yetizone d12ddf6567 scene_tree.h: Update header guard 2020-09-10 17:20:50 +03:00
Rémi Verschelde 3b25548e4c
Merge pull request #41945 from capnm/upstream-prs
git: Ignore clangd cache folder
2020-09-10 13:10:17 +02:00
Rémi Verschelde 1d3521fd5f
Merge pull request #41944 from madmiraal/remove-unused-imports
Remove unused Python imports.
2020-09-10 13:09:48 +02:00
Martin Capitanio 0b34607bb8 git: Ignore clangd cache folder 2020-09-10 12:50:01 +02:00
Marcel Admiraal e3d698dae9 Remove unused Python imports. 2020-09-10 11:38:52 +01:00
Rémi Verschelde 49283cb80d
Merge pull request #41795 from Hassan-A/tilemap-rotate-fix
Fix tilemap tile preview on horizontal/vertical flips.
2020-09-10 12:02:19 +02:00
Rémi Verschelde 1d70912080
Merge pull request #41890 from YeldhamDev/tabs_previous
Add 'get_previous_tab()' to 'Tabs'
2020-09-10 11:20:11 +02:00
Rémi Verschelde 58dcde344c
Merge pull request #41935 from Chaosus/vs_texture3d
Added Texture3D to visual shaders
2020-09-10 11:18:37 +02:00
Rémi Verschelde f19c400bed
Merge pull request #41940 from madmiraal/remove-duplicate-definitions
Remove duplicate or unnecessary Python definitions.
2020-09-10 10:05:17 +02:00
Rémi Verschelde 0942af841c
Merge pull request #41920 from Chaosus/fix_colorpicker
Fix ColorPickerButton to apply changes after picker popup closed
2020-09-10 10:02:14 +02:00