13 Commits

Author SHA1 Message Date
Marc Gilleron
3884ddecc6 Remove EditorNode* argument from editor plugin constructors 2022-02-14 21:32:27 +00:00
Marc Gilleron
907351dd1a Fix compilation with latest Godot 2022-02-13 16:56:27 +00:00
Marc Gilleron
9454759b02 Renamed VoxelInstanceLibraryItem => VoxelInstanceLibraryMultiMeshItem 2022-01-10 22:56:32 +00:00
Marc Gilleron
b67ca3d903 Namespaced every registered class 2022-01-09 22:16:44 +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
8ab6abe04a Moved VoxelInstanceLibrary menu to the inspector 2021-10-31 15:02:42 +00:00
Marc Gilleron
f86371af56 Fix popup opening on top-left corner instead of center of editor 2021-10-31 14:33:45 +00:00
Marc Gilleron
6d09e181bf Added menu to update an instancer multimesh item from a scene 2021-07-26 01:39:44 +01:00
Marc Gilleron
15c053f5c2 Fix wrong type 2021-07-25 21:20:44 +01:00
Marc Gilleron
27d54a0d5c Add initial support for instancing scenes with VoxelInstancer 2021-07-25 20:37:30 +01:00
Marc Gilleron
9f11a288b0 Fix VoxelInstanceLibraryItem removal 2021-02-26 18:42:07 +00:00
Marc Gilleron
3e6641e9ee Setup a few default properties when adding a new item 2021-02-15 21:45:35 +00:00
Marc Gilleron
094bbc1fe1 Refactored API to allow editor inspection and preview 2021-02-14 21:55:31 +00:00