浏览代码

Merge pull request #61523 from lawnjelly/portals_fix_moving_add

Portals - force full check on adding moving object
Rémi Verschelde 3 年之前
父节点
当前提交
cd0b4bdb23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      servers/visual/portals/portal_renderer.cpp

+ 1 - 1
servers/visual/portals/portal_renderer.cpp

@@ -59,7 +59,7 @@ OcclusionHandle PortalRenderer::instance_moving_create(VSInstance *p_instance, R
 	}
 
 	OcclusionHandle handle = pool_id + 1;
-	instance_moving_update(handle, p_aabb);
+	instance_moving_update(handle, p_aabb, true);
 	return handle;
 }