1623 Commits

Author SHA1 Message Date
Marc Gilleron
7ce6ac8148 Fix wrong method name string 2021-12-15 01:22:45 +00:00
Marc Gilleron
a374883ba8 Fix Transvoxel vertex arrays 2021-12-15 00:47:02 +00:00
Marc Gilleron
4f8ba5549d Fix AboutDialog showing on startup and kinda broken 2021-12-14 01:29:04 +00:00
Marc Gilleron
35f09b7f72 Fix stack overflow when instancing a terrain node in editor 2021-12-14 01:28:10 +00:00
Marc Gilleron
efc12ffefb Fix dangling material RID error 2021-12-14 00:23:26 +00:00
Marc Gilleron
3596c13475 Renamed set_process_mode to set_process_callback to fix conflict with newly renamed Godot4 Node method 2021-12-14 00:10:09 +00:00
Marc Gilleron
543d1b2f2f Fix table formatting 2021-12-13 23:56:23 +00:00
Marc Gilleron
70c292c9fd Fix renamed GraphEdit signal name 2021-12-13 23:56:02 +00:00
Marc Gilleron
922f361cb0 Made it compile in Godot 4
- Made a bunch of changes to comply with Godot 4 API
- Use Godot's Vector3i and add the missing stuff with helper functions
- Transvoxel uses custom attributes API, the old way would not work
- Wrap MeshOptimizer in a unique namespace (see build script why)
- Added clang-format file for the module as some rules now differ
- Prevent thirdparty code and lookup tables from being clang-formatted
- Very likely full of runtime bugs that need fixing
2021-12-13 21:38:10 +00:00
Marc Gilleron
758aa07280 Fix shadowing issues (including a crash-worthy one) 2021-12-12 00:16:18 +00:00
Marc Gilleron
cb1af8c1d9 Fix GCC warning about shadowed local 2021-12-11 23:55:40 +00:00
Marc Gilleron
43df211e8e Fix conversion warning 2021-12-11 23:25:22 +00:00
Marc Gilleron
9320574a60 Update changelog 2021-12-11 23:14:35 +00:00
Marc Gilleron
380e295d94 Merge branch 'master' into full_load_mode
# Conflicts:
#	meshers/transvoxel/transvoxel.h
#	server/voxel_server.cpp
#	terrain/voxel_lod_terrain.cpp
2021-12-11 22:59:24 +00:00
Marc Gilleron
97bbcacd86 Move natvis file to misc/ folder 2021-12-11 22:38:39 +00:00
Marc Gilleron
d55d2ea883 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-12-11 22:33:44 +00:00
Marc
fdcb1c9fdd
Merge pull request #331 from qarmin/master
Fix fuzzer freeze and crashes
2021-12-11 22:33:32 +00:00
Marc Gilleron
5a05f8762a Update changelog 2021-12-11 21:38:14 +00:00
Marc Gilleron
688b8b9a7b Fix inspector properties not refreshed when changing the geometry type of a Voxel resource 2021-12-11 21:37:09 +00:00
Rafał Mikrut
3b2f5d1762 Fix fuzzer freeze and crashes 2021-11-15 06:59:12 +01:00
Marc Gilleron
4be341e69e Fix wrong size used for allocation 2021-11-14 19:22:13 +00:00
Marc Gilleron
308dfe01a0 Fix macro 2021-11-14 18:54:21 +00:00
Marc Gilleron
7ca67e9e89 Added some checks 2021-11-14 18:40:50 +00:00
Marc Gilleron
f735bf30e1 Fix signedness warning and make a few things more explicit 2021-11-13 00:10:14 +00:00
Marc Gilleron
b9f774c1c4 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-11-12 23:40:05 +00:00
Marc Gilleron
2fd4c22c54 Rewrote memory pool to use arenas per power of two.
Using per-size arenas behaves like a memory leak when
the user creates many VoxelBuffers of random sizes repeatedly.
Now memory blocks of the next power of two are used instead.
VoxelBuffers with power-of-two size will fit best, while also being
the most common. Non-power-of-two will use a bit more memory,
but such buffers are often temporary and less numerous.
2021-11-12 23:39:50 +00:00
Marc Gilleron
148d5e4116 Comments 2021-11-12 21:42:39 +00:00
Marc Gilleron
c17914b2c8 Formatting due to update of Godot's clang-format 2021-11-12 21:42:28 +00:00
Marc Gilleron
67965a8b9a Note about comments 2021-11-12 21:41:45 +00:00
Marc
bde82a503c
Merge pull request #326 from alexzk1/master
Missing includes
2021-11-07 00:16:34 +00:00
Marc Gilleron
801545c68d Unnecessary include 2021-11-06 23:24:52 +00:00
Alex
8c7730230f missing include for shared_ptr type 2021-11-06 08:16:10 +02:00
Alex
3c47d29c4a 1 more missing header for unique_ptr 2021-11-06 08:10:34 +02:00
Alex
633e9ab307 added missing include for shared_ptr 2021-11-06 08:04:41 +02:00
Marc Gilleron
0c59443e79 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-11-06 02:08:46 +00:00
Marc Gilleron
67d626a283 Set milestone 2021-11-06 02:08:21 +00:00
Marc Gilleron
d5a69003c3 Add missing classes and run doctool (doctool has issues though)
VoxelGeneratorHeightmap.height_range is wrong in the doc.
VoxelTool lost all default values in doc.
These are likely Godot bugs...
2021-11-06 02:04:16 +00:00
Marc Gilleron
c5388c83db Document SQLite path property 2021-11-06 00:15:21 +00:00
Marc Gilleron
de55ebe5bb Update changelog 2021-11-06 00:15:03 +00:00
Marc Gilleron
9933f58987 Update C++ guidelines 2021-11-06 00:12:14 +00:00
Marc Gilleron
0655371078 This comment wasn't accurate 2021-11-06 00:11:43 +00:00
Marc Gilleron
2dfd4c0eab Update supporters 2021-11-06 00:11:30 +00:00
Marc
370bce9de3
Merge pull request #325 from dsrw/clang-fixes
Fixed clang build
2021-11-03 13:37:20 +00:00
Scott Wadden
6625db2d70 Fixed clang build 2021-11-03 00:17:20 -03:00
Marc Gilleron
d32dfc9c67 Fixed collision shapes not being saved 2021-10-31 20:13:44 +00:00
Marc Gilleron
536d1f11da Fixed scene property neither being exposed nor being saved 2021-10-31 20:13:27 +00:00
Marc Gilleron
ca7ac42cde Merge branch 'master' into full_load_mode
# Conflicts:
#	edition/voxel_tool_lod_terrain.cpp
#	generators/graph/voxel_generator_graph.cpp
#	terrain/voxel_lod_terrain.cpp
2021-10-31 16:17:27 +00:00
Marc Gilleron
be39cf78b0 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-10-31 16:06:09 +00:00
Marc Gilleron
6441d1b864 Deprecate Vector3i(Vector3) constructor, make conversions explicit
Some conversions were wrong/unintented.
This is also in prevision of using Godot 4 Vector3i,
which default behavior differs from this module.
2021-10-31 16:01:47 +00:00
Marc Gilleron
8ab6abe04a Moved VoxelInstanceLibrary menu to the inspector 2021-10-31 15:02:42 +00:00