pgraph: Remove recursive lock grab in `Light.set_color()`

Harmless, but unnecessary
This commit is contained in:
rdb 2022-11-21 18:26:19 +01:00
parent fcfa1d2c99
commit 8a48c3b711
2 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ INLINE void Light::
set_color(const LColor &color) {
CDWriter cdata(_cycler);
cdata->_color = color;
cdata->_viz_geom_stale = true;
_has_color_temperature = false;
mark_viz_stale();
}
/**

View File

@ -125,7 +125,7 @@ set_color_temperature(PN_stdfloat temperature) {
CDWriter cdata(_cycler);
cdata->_color = color;
mark_viz_stale();
cdata->_viz_geom_stale = true;
}
/**