Added RemoveFromSelection action.

This commit is contained in:
Leonardo Zide
2026-01-10 21:34:21 -08:00
parent a018b166c5
commit 8342e147cf
11 changed files with 192 additions and 209 deletions
+2 -2
View File
@@ -905,7 +905,7 @@ void lcLight::SetupLightMatrix(lcContext* Context) const
const lcPreferences& Preferences = lcGetPreferences();
const float LineWidth = Preferences.mLineWidth;
if (IsSelected(LC_LIGHT_SECTION_POSITION))
if (IsSelected())
{
const lcVector4 SelectedColor = lcVector4FromColor(Preferences.mObjectSelectedColor);
const lcVector4 FocusedColor = lcVector4FromColor(Preferences.mObjectFocusedColor);
@@ -1066,7 +1066,7 @@ void lcLight::DrawTarget(lcContext* Context) const
const lcPreferences& Preferences = lcGetPreferences();
const float LineWidth = Preferences.mLineWidth;
if (IsSelected(LC_LIGHT_SECTION_TARGET))
if (IsSelected())
{
const lcVector4 SelectedColor = lcVector4FromColor(Preferences.mObjectSelectedColor);
const lcVector4 FocusedColor = lcVector4FromColor(Preferences.mObjectFocusedColor);