mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:44:01 +02:00
fix sphere colors
This commit is contained in:
parent
ac45a56bf9
commit
e4deb59892
1 changed files with 1 additions and 1 deletions
|
@ -2862,7 +2862,7 @@ function handeMenuEvent(menuItem) {
|
|||
properties.gravity.z = array[index++].value;
|
||||
properties.lifetime = array[index++].value; // give ourselves that many more seconds
|
||||
|
||||
if (properties.type == "Box") {
|
||||
if (properties.type == "Box" || properties.type == "Sphere") {
|
||||
properties.color.red = array[index++].value;
|
||||
properties.color.green = array[index++].value;
|
||||
properties.color.blue = array[index++].value;
|
||||
|
|
Loading…
Reference in a new issue