mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
only render local toy ball sphere if there is an actual toy ball
This commit is contained in:
parent
08591481a6
commit
0560b16133
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ void Hand::render( bool isMine) {
|
|||
}
|
||||
|
||||
// Render toy ball
|
||||
if (isMine) {
|
||||
if (isMine && _hasToyBall) {
|
||||
glPushMatrix();
|
||||
glColor3f(1, 0, 0);
|
||||
glTranslatef(_toyBallPosition.x, _toyBallPosition.y, _toyBallPosition.z);
|
||||
|
|
Loading…
Reference in a new issue