pgraph: Remove recursive lock grab in `Light.set_color()`
Harmless, but unnecessary
This commit is contained in:
parent
fcfa1d2c99
commit
8a48c3b711
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ set_color_temperature(PN_stdfloat temperature) {
|
|||
|
||||
CDWriter cdata(_cycler);
|
||||
cdata->_color = color;
|
||||
mark_viz_stale();
|
||||
cdata->_viz_geom_stale = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue