Micky
59e11934d8
Rename `str2var` to `str_to_var` and similar
...
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too.
- `var2str` -> `var_to_str`
- `str2var` -> `str_to_var`
- `bytes2var` -> `bytes_to_var`
- `bytes2var_with_objects` -> `bytes_to_var_with_objects`
- `var2bytes` -> `var_to_bytes`
- `var2bytes_with_objects` -> `var_to_bytes_with_objects`
- `linear2db` -> `linear_to_db`
- `db2linear` -> `db_to_linear`
- `deg2rad` -> `deg_to_rad`
- `rad2deg` -> `rad_to_deg`
- `dict2inst` -> `dict_to_inst`
- `inst2dict` -> `inst_to_dict`
2022-08-26 14:58:22 +02:00
Rémi Verschelde
060d0ce882
Merge pull request #53299 from Calinou/viewport-tweak-configuration-warning
2022-08-25 21:44:31 +02:00
Rémi Verschelde
88145e81e2
Merge pull request #64804 from Mickeon/rename-path-progress
2022-08-25 18:35:48 +02:00
Rémi Verschelde
af88438c71
Merge pull request #64354 from Mickeon/rename-navigation-distance
2022-08-25 18:35:23 +02:00
Rémi Verschelde
5eed1b299b
Merge pull request #64355 from Mickeon/rename-follow-viewport
2022-08-25 18:34:19 +02:00
Rémi Verschelde
ceaff612c8
Merge pull request #64824 from Mickeon/rename-polygon-invert
2022-08-25 18:33:58 +02:00
Rémi Verschelde
33bf609d79
Merge pull request #64820 from Chaosus/shader_fix_varyings
2022-08-25 18:02:38 +02:00
Rémi Verschelde
78033235bb
Merge pull request #64802 from benbot/master
2022-08-25 17:50:51 +02:00
Yuri Rubinsky
d4a10e7e04
Allow using integer varyings with `flat` interpolation modifier
2022-08-25 13:21:02 +03:00
Rémi Verschelde
8916949b50
Merge pull request #64841 from fabriceci/shorten-variable-names-moving-platforms
2022-08-25 11:16:24 +02:00
Rémi Verschelde
0a5f5c8558
Merge pull request #64536 from Mickeon/editor-tree-icon-size
...
Account for TreeItem's Cell icon and center the text Popup vertically
2022-08-25 09:56:08 +02:00
fabriceci
31549dca29
Shorten variable names for moving platforms in CharacterBody
2022-08-25 09:15:18 +02:00
Rémi Verschelde
a0113a98e4
Merge pull request #64801 from clayjohn/plane-quad
...
Remove QuadMesh and add orientation parameter to PlaneMesh
2022-08-25 07:38:30 +02:00
Rémi Verschelde
1204ad32d1
Merge pull request #64829 from fabriceci/improve-monitor-contact-api
...
Improves the API for monitoring contacts in RigidDynamicBody
2022-08-25 07:31:06 +02:00
Rémi Verschelde
1adcd0327f
Merge pull request #64806 from Zylann/graph_node_protected_validate_property
...
Make GraphNode::_validate_property protected so GraphNode can be inherited
2022-08-25 07:30:42 +02:00
clayjohn
861c5bff0e
Remove QuadMesh and add orientation parameter to PlaneMesh
2022-08-24 18:51:18 -07:00
Rémi Verschelde
ca5c3d6df9
Fix ParticlesMaterial build after #61238
2022-08-25 00:52:37 +02:00
Rémi Verschelde
efedef8eb1
Merge pull request #64837 from YuriSizov/control-disconnect-from-everything-and-free-yourself
...
Disconnect Control from theme resources to avoid issues on destruction
2022-08-25 00:04:17 +02:00
Rémi Verschelde
bb6d771397
Merge pull request #64843 from Faless/mp/4.x_encode_fix
...
[MP] Fix variant serialization after variant size change.
2022-08-25 00:02:07 +02:00
Rémi Verschelde
56752e32a6
Merge pull request #61238 from Calinou/particlesmaterial-add-fade-on-contact-collision-mode
...
Add "Hide on Contact" collision mode to ParticlesMaterial
2022-08-25 00:01:47 +02:00
benbot
9c1bcdcf1a
removes unused skeleton functions and stray comments in RigidDynamicBody3D
2022-08-24 16:49:39 -04:00
Marc Gilleron
22fcdffd17
Make GraphNode::_validate_property protected so GraphNode can be inherited.
...
It's not about overriding or accessing `_validate_property`,
but since `_validate_property` became a multilevel method,
the GDCLASS macro now tries to access the one from the parent class,
which causes a compiling error if the parent class declares
`_validate_property` as private.
2022-08-24 21:29:32 +01:00
fabriceci
59bf35f3df
Improves the API for monitoring contacts in RigidDynamicBody
2022-08-24 21:23:11 +02:00
Fabio Alessandrelli
75de626781
[MP] Fix variant serialization after variant size change.
...
The bit mask used for the type when compressing variants in the
Multiplayer API became too small to represent all variant types.
This commit expand the mask, which means we no longer have an extra bit
in the "meta" byte we use to store encoding information.
The extra bit was only used in case of booleans to store the value and
since booleans do not require extra encoding information we use those 2
bits to store the value instead.
2022-08-24 19:46:55 +02:00
Rémi Verschelde
b7d2ba12c8
Merge pull request #64635 from YeldhamDev/menu_buttons_popup_fix
...
Make `Menu/OptionButton` item auto-highlight behave better
2022-08-24 19:07:25 +02:00
Rémi Verschelde
2961651444
Merge pull request #64691 from TokageItLab/Quaternion-editor
2022-08-24 18:36:54 +02:00
Yuri Sizov
bb5fa91a6b
Disconnect Control from theme resources to avoid issues on destruction
2022-08-24 18:50:04 +03:00
Rémi Verschelde
c8c0f21880
Merge pull request #64780 from YuriSizov/editor-color-conversion-map
2022-08-24 16:49:51 +02:00
Rémi Verschelde
4698dc67b5
Merge pull request #64082 from KoBeWi/array3k
2022-08-24 16:05:59 +02:00
Yuri Sizov
5d14d08702
Merge pull request #59226 from Rindbee/better-setters-in-gui-controls
...
Improve the setters in gui, return directly if the value does not change.
2022-08-24 17:03:54 +03:00
Yuri Sizov
78f3e4cb6a
Merge pull request #64369 from derammo/derammo_tree_right_click_title
...
Replace Tree control left click on title signal with new signal for either left or right click
2022-08-24 16:16:53 +03:00
Silc Renew
673c649adb
Implement Quaternion Editor
2022-08-24 22:04:49 +09:00
Yuri Sizov
c78cbb523f
Extract editor color map and simplify SVG color conversion
2022-08-24 15:59:14 +03:00
derammo
0ba2e999df
implemented right click on Tree control header
2022-08-24 08:10:40 -04:00
Micky
06a8113576
Rename Polygon2D.`invert_enable` to end with "d"
...
Polygon2D.`invert_enable` -> `invert_enabled`
Also affects the setters and getters, which are now named in full instead of cutting "enabled" off.
Updates old leftover documentation slightly, as well.
2022-08-24 13:09:44 +02:00
kobewi
f7f4873ed0
Replace Array return types with TypedArray 3
2022-08-24 12:53:36 +02:00
Rémi Verschelde
629949d0a5
Merge pull request #64759 from skyace65/Anisotropic
...
Spell out "anisotropic" fully in filter options
2022-08-24 09:53:28 +02:00
Rémi Verschelde
c3a8ec3cbb
Merge pull request #64800 from KoBeWi/split_hax
...
Handle child control size changes in SplitContainer
2022-08-24 09:50:46 +02:00
Rémi Verschelde
854eb58074
Merge pull request #64783 from bruvzg/fix_rtl_min_size
...
Fix RTL min. size not triggering text cache update.
2022-08-24 09:49:00 +02:00
Rémi Verschelde
b556d8c9a0
Merge pull request #64370 from Mickeon/rename-marker-node
...
Rename Position* nodes to Marker*
2022-08-24 08:52:13 +02:00
Rémi Verschelde
91e5f48ea7
Merge pull request #64009 from KoBeWi/arrayy_lmao
...
Replace Array return types with TypedArray (part 2)
2022-08-24 08:18:56 +02:00
Micky
bb936b2e27
Rename PathFollow's `offset`s to `progress` & `progress_ratio`
...
Applies for both PathFollow2D and PathFollow3D
2022-08-24 01:56:03 +02:00
skyace65
64061678c6
Spell out "anisotropic" fully in filter options
2022-08-23 19:19:56 -04:00
kobewi
1abdffe7a0
Replace Array return types with TypedArray 2
2022-08-23 23:21:32 +02:00
kobewi
19ad31b89f
Handle child control size changes in SplitContainer
2022-08-23 20:41:10 +02:00
Micky
8bb305356e
Rename Position* nodes to Marker*
...
- Position2D -> Marker2D
- Position3D -> Marker3D
Also changes their respective file names.
2022-08-23 19:49:50 +02:00
Rémi Verschelde
6277448f42
Merge pull request #64647 from TokageItLab/auto-tangent
2022-08-23 18:17:15 +02:00
Rémi Verschelde
be5c1e2737
Merge pull request #64719 from akien-mga/property-slasher
2022-08-23 18:16:59 +02:00
Rémi Verschelde
1d30c47f49
Merge pull request #64774 from RandomShaper/check_cursor_shape_avail
2022-08-23 18:16:43 +02:00
Rémi Verschelde
5c5bc21195
Merge pull request #63854 from TokageItLab/auto-bone-mapping
2022-08-23 18:16:15 +02:00