graph: light levels are now recalculated on every level change
This commit is contained in:
parent
d11f071b72
commit
9e67232c07
6 changed files with 40 additions and 17 deletions
|
|
@ -448,6 +448,10 @@ public:
|
|||
return ptr->string;
|
||||
}
|
||||
|
||||
StringRef name () const {
|
||||
return ptr->name;
|
||||
}
|
||||
|
||||
void set (float val) {
|
||||
engfuncs.pfnCVarSetFloat (ptr->name, val);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ private:
|
|||
bool m_hasChanged {};
|
||||
bool m_narrowChecked {};
|
||||
bool m_silenceMessages {};
|
||||
bool m_lightChecked {};
|
||||
|
||||
Vector m_learnVelocity {};
|
||||
Vector m_learnPosition {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue