Thaddeus Crews
866d59d216
Merge pull request #105264 from clayjohn/primitive-mesh-optimize
...
Optimize PrimitiveMesh creation by avoiding CoW behavior and dynamic memory allocations
2025-04-14 19:39:46 -05:00
clayjohn
9b6f9e5701
Optimize PrimitiveMesh _create_mesh_array function by avoiding CoW behavior and dynamic memory allocations
2025-04-11 09:04:44 -07:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
Yufeng Ying
7a1a970c25
size() <= 0 and size() < 1.
2025-04-02 19:18:44 +08:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Yyf2333
22b5ec17fb
Using iterator pattern instead of List::Element *.
...
Co-authored-by: Adam Scott <ascott.ca@gmail.com >
2025-03-28 13:29:15 +08:00
Aarni Koskela
f134769506
Fix various typos
...
* Add TODO notes for typos that should be fixed for 5.0
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2025-01-08 14:47:42 +02:00
Florent Guiocheau
4c34813b32
Fix very large radius SphereMesh and CapsuleMesh normals
2024-12-13 09:26:59 +01:00
Hei
b4c6f9b3d9
Mend gaps in meshes caused by trigonometric funcs.
2024-12-06 17:10:12 +02:00
Carson Bates
c874e284eb
Optimize mesh generation by preventing unneeded shape recalculations
...
Co-authored-by: Sequoia Haynes <supersequoia11@gmail.com >
2024-11-21 19:49:21 -08:00
Rémi Verschelde
091212b4f1
Merge pull request #93602 from aaronp64/inspector_latency
...
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
aaronp64
7593e55527
Improve Editor Inspector/Theme item lookup performance
...
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab
- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call
These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Bastiaan Olij
b9790cef47
Make primitive meshes react to texel size change
2024-07-26 13:54:11 +10:00
A Thousand Ships
79ba22a73f
Use Vector* component-wise min/max/clamp functions where applicable
2024-03-20 13:47:42 +01:00
Micky
ba867042a2
Fix Label3D, TextMesh & Font not following project default theme in editor
2024-03-09 17:35:48 +01:00
jsjtxietian
1716f12451
Expose PrimitiveMesh's request_update` method
2024-03-06 19:18:01 +08:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00