Base 3D engine done, still untested, though.
This commit is contained in:
parent
7fa9785170
commit
449df8f688
50 changed files with 4913 additions and 1053 deletions
|
|
@ -466,7 +466,7 @@ Ref<ArrayMesh> SurfaceTool::commit(const Ref<ArrayMesh> &p_existing, uint32_t p_
|
|||
|
||||
Array a = commit_to_arrays();
|
||||
|
||||
mesh->add_surface_from_arrays(primitive, a, Array(), p_flags);
|
||||
mesh->add_surface_from_arrays(primitive, a, Array(), Dictionary(), p_flags);
|
||||
|
||||
if (material.is_valid())
|
||||
mesh->surface_set_material(surface, material);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue