Merge pull request #5981 from ericrius1/sprayCanFix

No longer removing non-existent entities from spray paint can; color …
This commit is contained in:
Seth Alves 2015-10-02 17:56:51 -07:00
commit a42bb5f533

View file

@ -85,6 +85,11 @@
particleRadius: 0.01,
radiusSpread: 0.005,
polarFinish: 0.05,
colorStart: {
red: 50,
green: 10,
blue: 150
},
color: {
red: 170,
green: 20,
@ -155,8 +160,5 @@
if (this.paintStream) {
Entities.deleteEntity(this.paintStream);
}
this.strokes.forEach(function(stroke) {
Entities.deleteEntity(stroke);
});
}
});