mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 05:43:36 +02:00
Merge pull request #5981 from ericrius1/sprayCanFix
No longer removing non-existent entities from spray paint can; color …
This commit is contained in:
commit
a42bb5f533
1 changed files with 17 additions and 15 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Reference in a new issue