Apply 'overlay' render category to newly created brush geometry (lines and vertices)

This commit is contained in:
2026-04-26 05:33:31 +02:00
parent b382ee016e
commit 9899dcb97f

View File

@@ -7566,6 +7566,7 @@ export class ViewportHost {
line.userData.brushId = brush.id;
line.userData.brushEdgeId = edgeId;
applyRendererRenderCategory(line, "overlay");
return {
id: edgeId,
@@ -7591,6 +7592,7 @@ export class ViewportHost {
mesh.position.set(position.x, position.y, position.z);
mesh.userData.brushId = brush.id;
mesh.userData.brushVertexId = vertexId;
applyRendererRenderCategory(mesh, "overlay");
return {
id: vertexId,