Commit Graph

1382 Commits (2fd4c22c549ab5164770433beaac818d6eb5d2b8)

Author SHA1 Message Date
Marc Gilleron f5ecd42057 Detail about block transfer 2021-10-01 00:56:03 +01:00
Marc Gilleron 290d489d96 Use const 2021-10-01 00:55:22 +01:00
Marc Gilleron c90170e92e Don't use macro 2021-10-01 00:54:52 +01:00
Marc Gilleron bfc4c0d363 Fix memory corruption occurring after writing out of bounds.
Found this after using VoxelBufferInternal in a pattern that was never
used before. Added reproduction as a test.
2021-10-01 00:54:34 +01:00
Marc Gilleron a74ea392fa Fix formatting 2021-09-29 18:46:39 +01:00
Marc Gilleron 100b6d1816 Switch to unordered_map, slightly better performance 2021-09-28 22:37:37 +01:00
Marc Gilleron ac3ecbba14 Unfortunately that CSS change doesn't work. I don't know how to fix that. 2021-09-27 00:10:06 +01:00
Marc Gilleron 024b9326cc Fix last nav item in the doc covered by a fixed box 2021-09-26 23:33:24 +01:00
Marc Gilleron c0384a4389 Fix signedness 2021-09-26 21:10:54 +01:00
Marc Gilleron 788e61cefd Update changelog 2021-09-26 21:10:41 +01:00
Marc Gilleron 298f318886 Make about window popup larger 2021-09-26 19:33:59 +01:00
Marc Gilleron 6873f2a6b1 Added third-party licenses to about window 2021-09-26 19:33:44 +01:00
Marc Gilleron d4f1526ef2 Fix ok button not closing the window 2021-09-26 19:33:09 +01:00
Marc Gilleron 3f8f8140e0 Make ok button larger, as all ok buttons should be in Godot (but aren't) 2021-09-26 19:32:16 +01:00
Marc Gilleron 186bbfc22e Fix accentued characters in about window 2021-09-26 19:31:28 +01:00
Marc Gilleron a107e5f076 Fix enum comparisons (2) 2021-09-26 17:36:56 +01:00
Marc Gilleron 87f086b26e Fix enum comparisons 2021-09-26 17:21:44 +01:00
Marc Gilleron 00d6190d3c Old comment 2021-09-26 17:20:43 +01:00
Marc Gilleron 00c228851d Fix signedness 2021-09-26 16:36:08 +01:00
Marc Gilleron fb2dc3bc0f Fix unnecessary macro argument 2021-09-26 15:49:12 +01:00
Marc Gilleron 30db0c5193 Split VoxelBuffer in two, script-facing wrapper and internal.
The internal is the main use within the voxel engine,
and does not inherit Reference.
2021-09-26 04:14:50 +01:00
Marc Gilleron 43adf2d6e7 Fix GCC warning 2021-09-25 17:38:36 +01:00
Marc Gilleron 2a10663081 Tweak docs 2021-09-25 17:35:15 +01:00
Marc Gilleron b8f21f91fc Fix VoxelGeneratorGraph sub-resources not registered when duplicate() is used 2021-09-25 17:34:43 +01:00
Marc Gilleron e4cb16e2a4 Comments 2021-09-25 16:27:53 +01:00
Marc Gilleron 6faf5b29f3 Allow to configure main thread time limit 2021-09-25 02:13:03 +01:00
Marc Gilleron 3197eaba35 Move main thread tasks into one runner in VoxelServer
So the timing budget is better respected even if there are multiple
voxel nodes in the scene
2021-09-25 00:02:41 +01:00
Marc Gilleron 751a32e04c Fix latest Godot branch to use 2021-09-24 23:53:21 +01:00
Marc Gilleron 979e5c9c47 VoxelTool.paste now only expects 0xffffffff to turn off masking.
Before it was 0xffffffffffffffff, which the GDScript parser no longer
accepts because it is greater than INT64_MAX.
In the future we may rework this API.
2021-09-24 02:09:58 +01:00
Marc Gilleron 18e0a23d46 Fix task count when a stream is used 2021-09-24 02:06:00 +01:00
Marc Gilleron 44f00176d3 Use std::unordered_set instead of Godot Set in VoxelLodTerrain 2021-09-23 23:49:18 +01:00
Marc Gilleron 0788affed9 Renamed "multithreading" section to "performance" and document an issue with the speed of mesh updates 2021-09-23 22:33:05 +01:00
Marc Gilleron 900e5a1a7c Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-09-22 20:28:37 +01:00
Marc Gilleron 62c807fa71 Fix graph not recompiling after changing a subresource 2021-09-22 20:28:17 +01:00
Marc Gilleron ba8d9aad52 Exposed missing warp functions 2021-09-22 19:54:26 +01:00
Marc 4a8c1f6894
Merge pull request #315 from dsrw/macos-build-fix
Fixed macos/clang build errors
2021-09-22 19:48:20 +01:00
Scott Wadden 511422c30d Fixed macos build errors 2021-09-22 09:48:35 -03:00
Marc Gilleron 7c3226b904 Missing title confuses mkdocs nav 2021-09-21 21:59:09 +01:00
Marc Gilleron 6da5aadf33 Fix mkdocs nav 2021-09-21 21:53:44 +01:00
Marc Gilleron 94bb985704 Automatic thread count computation and project settings 2021-09-21 21:50:06 +01:00
Marc Gilleron 176f46440f Merge meshing and generation thread pools, expecting better usage of available threads 2021-09-21 19:32:29 +01:00
Marc Gilleron 7f8eabe21f Don't change expected return value for generate() in scripts, until it is actually used 2021-09-21 19:18:59 +01:00
Marc Gilleron 5fdbccf982 Fix formatting 2021-09-21 19:14:44 +01:00
Marc Gilleron 0da9358d56 Fix GCC warning (2) 2021-09-19 23:20:25 +01:00
Marc Gilleron 0838cab251 Don't schedule loadings when streaming is disabled, don't crash when it still happens, log an error instead 2021-09-19 23:12:42 +01:00
Marc Gilleron 2ffc805c77 Fix GCC warning 2021-09-19 23:07:53 +01:00
Marc Gilleron c18262d3f8 Added option to turn off random rotation 2021-09-19 21:41:16 +01:00
Marc Gilleron e602b9bffe Merge branch 'master' into octree_compression
# Conflicts:
#	tests/tests.cpp
2021-09-19 20:15:16 +01:00
Marc Gilleron 0b4204f5be Put task result processing into virtual functions and remove downcasts 2021-09-19 20:13:29 +01:00
Marc Gilleron 95c7dafe72 Fix case where the bulk array is empty 2021-09-19 18:26:34 +01:00