mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 08:43:47 +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,
|
particleRadius: 0.01,
|
||||||
radiusSpread: 0.005,
|
radiusSpread: 0.005,
|
||||||
polarFinish: 0.05,
|
polarFinish: 0.05,
|
||||||
|
colorStart: {
|
||||||
|
red: 50,
|
||||||
|
green: 10,
|
||||||
|
blue: 150
|
||||||
|
},
|
||||||
color: {
|
color: {
|
||||||
red: 170,
|
red: 170,
|
||||||
green: 20,
|
green: 20,
|
||||||
|
@ -155,8 +160,5 @@
|
||||||
if (this.paintStream) {
|
if (this.paintStream) {
|
||||||
Entities.deleteEntity(this.paintStream);
|
Entities.deleteEntity(this.paintStream);
|
||||||
}
|
}
|
||||||
this.strokes.forEach(function(stroke) {
|
|
||||||
Entities.deleteEntity(stroke);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in a new issue