erase particles
This commit is contained in:
parent
4b0352f5d7
commit
d740dec08e
@ -86,6 +86,12 @@ class Painter(Widget):
|
||||
if not 's' in self.modifiers:
|
||||
self.modifiers.append('s')
|
||||
self.modifiers.sort()
|
||||
# remove particles
|
||||
elif keycode[1]=="backspace":
|
||||
for particle in self.selected:
|
||||
self.particles=remove_fromlist(self.particles,particle)
|
||||
self.selected=[]
|
||||
self.draw()
|
||||
|
||||
def on_key_up(self, keyboard, keycode):
|
||||
if keycode[1]=="shift":
|
||||
|
Loading…
Reference in New Issue
Block a user