Commit graph

30530 commits

Author SHA1 Message Date
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
Marcel Admiraal a1a2531459 Remove duplicate or unnecessary Python definitions. 2020-09-10 08:38:07 +01:00
Rémi Verschelde 07f279ba6e
Merge pull request #41937 from madmiraal/remove-unused-variable
Remove unused variable in fixed-size.html.
2020-09-10 09:17:49 +02:00
Marcel Admiraal 1739f10459 Remove unused variable in fixed-size.html. 2020-09-10 08:02:06 +01:00
Rémi Verschelde 3f7b565fbc
Merge pull request #41928 from akien-mga/tinyexr-1.0.0
tinyexr: Sync with upstream 1.0.0
2020-09-10 07:58:44 +02:00
Rémi Verschelde 2a5d4b246d
Merge pull request #41932 from clayjohn/VULKAN-3dtexture-repeat
Set repeat in all 3 dimensions in 3d textures
2020-09-10 06:42:30 +02:00
Yuri Roubinsky 5ba8246cfb Added Texture3D to visual shaders 2020-09-10 07:40:06 +03:00
Haoyu Qiu 5e2167631b Fixes ParallaxLayer offset when ignore camera zoom 2020-09-10 11:08:20 +08:00
clayjohn fbff7d424b Set repeat in all 3 dimensions in 3d textures 2020-09-09 17:59:51 -07:00
Pedro J. Estébanez e25f5e791e Ensure cyclic dependencies between scripts are broken at exit 2020-09-10 01:34:42 +02:00
Pedro J. Estébanez 95828161d4 Prevent cyclic reference between script and its members 2020-09-10 01:26:07 +02:00
Rémi Verschelde ab7e7b8116
Merge pull request #41926 from Calinou/rename-shortcut-sentence-case
Rename ShortCut to Shortcut which is more grammatically correct
2020-09-09 22:39:29 +02:00
Juan Linietsky 9a1173c024
Merge pull request #41925 from reduz/improve-exr-loading
Make EXR import format support all depths and channel configurations
2020-09-09 17:24:11 -03:00
Rémi Verschelde fa35f53dd2
tinyexr: Sync with upstream 1.0.0 2020-09-09 22:07:24 +02:00
Hugo Locurcio 3e0226515e
Rename ShortCut to Shortcut which is more grammatically correct
See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980.
2020-09-09 21:54:54 +02:00
reduz e3eacbc8a6 Make EXR import format support all depths and channel configurations 2020-09-09 16:51:32 -03:00
Rémi Verschelde 6247f60c15
Merge pull request #41922 from Chaosus/fix_build_warning
Fix build warning in visual_shader_editor
2020-09-09 21:49:29 +02:00
Rémi Verschelde 7015c59e2e
Merge pull request #41921 from akien-mga/stb_vorbis-increase-max-alloc
stb_vorbis: Increase max alloc buffer size for big Vorbis comments
2020-09-09 21:25:37 +02:00
Yuri Roubinsky da488ff041 Fix build warning in visual_shader_editor 2020-09-09 22:00:21 +03:00
Rémi Verschelde d16f5a57c1
stb_vorbis: Increase max alloc buffer size for big Vorbis comments
The previous max worked OK for audio data, but stb_vorbis recently gained support
for Vorbis comments, which can embed up to 2^32-1 bytes of data (e.g. cover art
encoded as base64).

We use 2^30 as max which should be sufficient for most files.

Fixes #41913.
2020-09-09 20:50:41 +02:00
Yuri Roubinsky 993ae871c7 Fix ColorPickerButton to apply changes after picker popup closed 2020-09-09 21:38:29 +03:00
Juan Linietsky 1ce46f2a3f
Merge pull request #41918 from reduz/implement-3d-textures
Implement 3D textures as import and resource format.
2020-09-09 14:40:22 -03:00