mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
getShouldSkipRendering() => !getShouldRender().
This commit is contained in:
parent
f1e0742aeb
commit
5912808077
2 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ public:
|
|||
Q_INVOKABLE glm::vec3 getAngularVelocity() const { return _angularVelocity; }
|
||||
Q_INVOKABLE glm::vec3 getAngularAcceleration() const { return _angularAcceleration; }
|
||||
|
||||
Q_INVOKABLE bool getShouldSkipRendering() const { return _shouldSkipRender; }
|
||||
Q_INVOKABLE bool getShouldRender() const { return !_shouldSkipRender; }
|
||||
|
||||
/// Scales a world space position vector relative to the avatar position and scale
|
||||
/// \param vector position to be scaled. Will store the result
|
||||
|
|
|
@ -167,7 +167,7 @@ void AvatarManager::updateOtherAvatars(float deltaTime) {
|
|||
} else {
|
||||
avatar->startUpdate();
|
||||
avatar->simulate(deltaTime);
|
||||
if (!avatar->getShouldSkipRendering()) {
|
||||
if (avatar->getShouldRender()) {
|
||||
renderableCount++;
|
||||
}
|
||||
avatar->endUpdate();
|
||||
|
|
Loading…
Reference in a new issue