Allow custom color for 3D brush outline

This commit is contained in:
JannisX11 2023-07-11 23:56:14 +02:00
parent 9d76ecc04c
commit c559aba202
2 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@
--color-outline: var(--color-accent);
--color-gizmohover: var(--color-outline);
--color-ground: var(--color-back);
--color-brush-outline: #ffffff;
--color-axis-x: #fd3043;
--color-axis-y: #26ec45;
--color-axis-z: #2d5ee8;

View File

@ -385,6 +385,7 @@ const CustomTheme = {
update(gizmo_colors.gizmo_hover, '--color-gizmohover');
update(Canvas.outlineMaterial.color, '--color-outline');
update(Canvas.ground_plane.material.color, '--color-ground');
update(Canvas.brush_outline.material.color, '--color-brush-outline');
Canvas.pivot_marker.children.forEach(c => {
c.updateColors();