mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
Josh: made some changes to the breakpoint code
This commit is contained in:
parent
39468f5a1a
commit
ca36b0fe57
@ -2793,8 +2793,10 @@ class HotkeyBreaker:
|
|||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
if not isinstance(breakKeys, (list,tuple)):
|
if not isinstance(breakKeys, (list,tuple)):
|
||||||
breakKeys = (breakKeys,)
|
keys = (breakKeys,)
|
||||||
for key in breakKeys:
|
else:
|
||||||
|
keys = tuple(breakKeys)
|
||||||
|
for key in keys:
|
||||||
if self.breakKeys.pop(key,False):
|
if self.breakKeys.pop(key,False):
|
||||||
import pdb;pdb.set_trace()
|
import pdb;pdb.set_trace()
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user