Skip to content

Commit

Permalink
Testing a shot in the dark
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAlvarezMelucciDCL committed Nov 22, 2024
1 parent 77b3208 commit 1fa069d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ private void ExecuteCommand(ScriptableRenderContext context, RenderingData rende
materialToUse.SetColor(highlightColour, !clear ? settings.Color : Color.clear);
materialToUse.SetFloat(outlineWidth, !clear ? settings.Width : 0);
materialToUse.SetVector(highlightObjectOffset, Vector3.zero);
commandBuffer.Clear();
commandBuffer.DrawRenderer(renderer, materialToUse, 0, 0);
}
}
Expand Down

0 comments on commit 1fa069d

Please sign in to comment.