mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:17:24 +02:00
Fix for URLs' not being sent: setting the scale calls createMohawk, which
reseeds the random number generator, breaking "shouldDo."
This commit is contained in:
parent
b281facf45
commit
5f26177560
1 changed files with 3 additions and 0 deletions
|
@ -313,6 +313,9 @@ void Head::render(float alpha, bool isMine) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Head::setScale (float scale) {
|
void Head::setScale (float scale) {
|
||||||
|
if (_scale == scale) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
_scale = scale;
|
_scale = scale;
|
||||||
|
|
||||||
createMohawk();
|
createMohawk();
|
||||||
|
|
Loading…
Reference in a new issue