add color to sphere property editor

This commit is contained in:
ZappoMan 2014-09-03 18:03:00 -07:00
parent e680260c89
commit 5b8be780a7

View file

@ -2828,7 +2828,7 @@ function handeMenuEvent(menuItem) {
array.push({ label: "Lifetime:", value: properties.lifetime.toFixed(decimals) });
if (properties.type == "Box") {
if (properties.type == "Box" || properties.type == "Sphere") {
array.push({ label: "Red:", value: properties.color.red });
array.push({ label: "Green:", value: properties.color.green });
array.push({ label: "Blue:", value: properties.color.blue });