Rémi Verschelde
b5fd901b07
Merge pull request #69115 from xiongyaohua/curve2d_baking_refactor
...
Curve2d baking and sampling refactor
2022-12-05 18:06:25 +01:00
Yaohua Xiong
91e9ad92f5
Refactor baking code for Curve2D
...
The main change is to caculate tangent directly from bezier curve, without going
through discretized polyline, avoiding pitfalls of discretization. A similar refacor
had been applied to Curve3D.
The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate()
instead of `==`, in order to avoid float precision problem.
2022-12-05 21:22:05 +08:00
Yuri Sizov
d759210f52
Merge pull request #69284 from gdixr/bugfix-69082
...
Prevent editor crash when deleting children of GraphNode
2022-12-05 15:56:10 +03:00
Rémi Verschelde
777dca33b0
Merge pull request #69588 from TokageItLab/fix-play-bw
...
Fix AnimationPlayer play backward doesn't process just current key & AnimationPlaybackTrack seeking for preview
2022-12-05 11:32:18 +01:00
Rémi Verschelde
73de09f38e
Merge pull request #69580 from bruvzg/rtl_fix_search
...
[RTL] Fix search method not taking nested frame and line wraps into account.
2022-12-05 10:14:00 +01:00
Rémi Verschelde
4211c6d74d
Merge pull request #69531 from BastiaanOlij/fix_origin_current_issue
...
Fix recurrence issue with setting current origin node
2022-12-05 10:13:55 +01:00
Silc Renew
8c540b1d71
Fix animation play backward doesn't process current key&animtrack seek
2022-12-05 15:59:08 +09:00
Rémi Verschelde
9962225d89
Merge pull request #69584 from bruvzg/fix_tm_tr_4
...
[TextMesh] Fix autotranslate.
2022-12-05 00:06:50 +01:00
Rémi Verschelde
a738f50886
Merge pull request #69357 from TokageItLab/byebye-trigger
...
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05 00:06:23 +01:00
Rémi Verschelde
a0365c140a
Merge pull request #68995 from bruvzg/sys_font_for_text
...
Use system fonts as fallback.
2022-12-05 00:05:49 +01:00
Rémi Verschelde
5efa254964
Merge pull request #67387 from NumbuhFour/cam_vis_layers_shader_var
...
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-05 00:05:39 +01:00
Rémi Verschelde
92b5e616ae
Merge pull request #69561 from AThousandShips/tree_select_fix
...
Fix TreeItem::set_as_cursor check
2022-12-05 00:05:23 +01:00
Rémi Verschelde
bb7dbdf1d1
Merge pull request #69312 from RumblingTurtle/double-click-editor-fix
...
Editor doubleclick jumping in certain positions fix
2022-12-05 00:04:36 +01:00
Bastiaan Olij
80824e9858
Fix recurrense issue with setting current origin node
2022-12-05 08:18:51 +11:00
bruvzg
08d7c24ebe
[TextMesh] Fix autotranslate.
2022-12-04 23:04:48 +02:00
bruvzg
889bcff24f
[RTL] Fix search method not taking nested frame and line wraps into account.
2022-12-04 22:11:21 +02:00
bruvzg
ecec415988
Use system fonts as fallback and improve system font handling.
...
Add support for font weight and stretch selection when using system fonts.
Add function to get system fallback font from a font name, style, text, and language code.
Implement system font support for Android.
Use system fonts as a last resort fallback.
2022-12-04 18:44:20 +02:00
Ninni Pipping
f90d3554cf
Fix TreeItem::set_as_cursor check
2022-12-04 09:57:47 +01:00
NumbuhFour
1b09fd5410
Implement CAMERA_VISIBLE_LAYERS as built-in shader variable
2022-12-03 22:41:27 -08:00
Rémi Verschelde
82b1cd6753
Merge pull request #62675 from Jummit/tolerant_lookup
...
Allow drag-clicking before symbol lookup
2022-12-03 21:30:57 +01:00
Eduard Zalyaev
b663a825a6
Script editor: Fix edge case when double-click incorrectly updates caret position
...
Fixes #68898 .
2022-12-03 15:51:10 +03:00
Rémi Verschelde
e0f9bc6629
Merge pull request #64312 from KoBeWi/StringNameEdit
...
Improve usage of StringNames in GraphEdit
2022-12-03 12:45:53 +01:00
Yaohua Xiong
69f84563a3
Fix Curve3D::get_closest_point() broken
...
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem.
The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true.
The out dated document for `get_closest_point()` is also updated.
2022-12-03 17:01:03 +08:00
kobewi
5490c22ffb
Improve usage of StringNames in GraphEdit
2022-12-02 22:57:23 +01:00
Silc Renew
83135aa122
Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/Player
...
#69357
2022-12-02 20:28:10 +09:00
Rémi Verschelde
8c094207a0
Merge pull request #61958 from jtnicholl/animation_connections
...
Add `animation_changed` signal to `AnimationLibrary`, have `AnimationPlayer` connect to it instead of `Animation`'s `changed`
2022-12-02 12:24:32 +01:00
Rémi Verschelde
10e9a85607
Merge pull request #69336 from TokageItLab/get-anim-keys-more-exactly
...
Refactor process of animation to retrive keys more exactly
2022-12-02 12:24:24 +01:00
Rémi Verschelde
3ce539cad9
Merge pull request #69475 from bruvzg/rtl_fx_idx
...
[RichTextEffect] Restore missing `relative_index` property.
2022-12-02 12:24:13 +01:00
bruvzg
0541c746ee
[RichTextEffect] Restore missing relative_index
property.
2022-12-02 09:50:54 +02:00
Silc Renew
962b6a3e8f
Fix animation signal caches_cleared firing timing
2022-12-02 15:02:36 +09:00
Rémi Verschelde
a7fcfacaa5
Merge pull request #69427 from TokageItLab/remove-wrong-method-root-pos
...
Remove unneeded calc in root motion
2022-12-01 18:11:07 +01:00
Rémi Verschelde
e5f0a565e2
Merge pull request #67660 from Rindbee/improve-setter-for-Range
...
Improve validation when setting `max`/`min`/`page` in `Range`
2022-12-01 18:11:01 +01:00
Rémi Verschelde
86273fcf13
Merge pull request #69401 from IceflowRE/rename_theme_cache_names
...
Rename Tree theme cache separation names
2022-12-01 18:09:52 +01:00
Rémi Verschelde
60750a1b69
Merge pull request #69403 from KoBeWi/gdrequiredvirutalcallnoif
...
Simplify GDVIRTUAL_REQUIRED_CALL calls
2022-12-01 18:09:43 +01:00
Silc Renew
1fc3833617
Refactor process of animation to retrive keys more exactly
2022-12-01 22:07:47 +09:00
Silc Renew
c1a29f5ef4
Remove unneeded calc in root motion
2022-12-01 11:11:21 +09:00
Fredia Huya-Kouadio
3ff7dd2aa4
Fix routing of InputEventScreenDrag events to Control nodes
2022-11-30 14:06:41 -08:00
Rémi Verschelde
0bb1e89fb7
Merge pull request #69408 from TokageItLab/spblend-more-warn
...
Emphasize the warning about special case blend for animation
2022-11-30 19:11:44 +01:00
kobewi
9a3960daa5
Simplify GDVIRTUAL_REQUIRED_CALL calls
2022-11-30 18:36:57 +01:00
Silc Renew
9a3d9c6cae
Emphasize the warning about special case blend for animation
2022-12-01 02:13:24 +09:00
Iceflower
908f392af6
Rename theme cache separation names
2022-11-30 16:06:14 +01:00
kobewi
b65a3a52ac
Display transform properties of contained controls
2022-11-30 15:08:39 +01:00
zhangjianguo
8e1138d59a
Prevent editor crash when deleting children of GraphNode
2022-11-30 09:25:26 +08:00
Hendrik Brucker
e84f45fc93
Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItem
2022-11-29 17:11:22 +01:00
Rémi Verschelde
610c34ea03
Merge pull request #65641 from voylin/Adding_ttf_otf_to_custom_font_dialogue
...
Adding .tff .otf, .woff and .woff2 to custom font extensions - Fixes #65633
2022-11-29 13:41:45 +01:00
Rémi Verschelde
55dae30177
Merge pull request #69301 from KoBeWi/ERR_WHATEVER
...
Don't break parsing on missing resources
2022-11-28 16:53:46 +01:00
Rémi Verschelde
4555ccdf98
Merge pull request #69224 from adamscott/fix-PackedScene-reload_from_file
...
Add `PackedScene::reload_from_file()` override
2022-11-28 16:53:36 +01:00
Adam Scott
a34a26eb66
Add PackedScene::reload_from_file() override
2022-11-28 10:23:02 -05:00
kobewi
0765908868
Don't break parsing on missing resources
2022-11-28 16:19:15 +01:00
Rémi Verschelde
ef090ee6ea
Merge pull request #68874 from TokageItLab/fix-unique-path-keying
...
Added option to `get_path_to()` to get the shortest path considering unique name
2022-11-28 14:49:34 +01:00