Add MergeGroup node to simplify merging Meshes at runtime

This commit is contained in:
lawnjelly
2022-05-31 19:26:21 +01:00
parent a81d96c637
commit 8b79135538
34 changed files with 4179 additions and 602 deletions

View File

@@ -33,8 +33,10 @@
VARIANT_ENUM_CAST(CullInstance::PortalMode);
void CullInstance::set_portal_mode(CullInstance::PortalMode p_mode) {
_portal_mode = p_mode;
_refresh_portal_mode();
if (p_mode != _portal_mode) {
_portal_mode = p_mode;
_refresh_portal_mode();
}
}
CullInstance::PortalMode CullInstance::get_portal_mode() const {