diff --git a/radiant/ui/lightinspector/LightInspector.cpp b/radiant/ui/lightinspector/LightInspector.cpp index 3d4301586d..408a383994 100644 --- a/radiant/ui/lightinspector/LightInspector.cpp +++ b/radiant/ui/lightinspector/LightInspector.cpp @@ -588,7 +588,7 @@ void LightInspector::writeToAllEntities(StringMap newValues) } else { // Set all values from dialog elements - setValuesOnEntity(entity); + setLightVectorsOnEntity(entity); } } @@ -607,7 +607,7 @@ void LightInspector::setKeyValueAllLights(const std::string& key, } // Set the keyvalues on the entity from the dialog widgets -void LightInspector::setValuesOnEntity(Entity* entity) +void LightInspector::setLightVectorsOnEntity(Entity* entity) { // Write out all vectors to the entity for (const auto& pair : _valueMap) diff --git a/radiant/ui/lightinspector/LightInspector.h b/radiant/ui/lightinspector/LightInspector.h index 28e16c7c8a..b54160ee6a 100644 --- a/radiant/ui/lightinspector/LightInspector.h +++ b/radiant/ui/lightinspector/LightInspector.h @@ -94,10 +94,10 @@ class LightInspector : void getValuesFromEntity(); // Write the widget contents to the given entity - void setValuesOnEntity(Entity* entity); + void setLightVectorsOnEntity(Entity* entity); // Write contents to all light entities. Pass a string map containing - // explicit values to set, or an empty map to call setValuesOnEntity() for + // explicit values to set, or an empty map to call setLightVectorsOnEntity() for // each entity. void writeToAllEntities(StringMap newValues = {});