mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
*** empty log message ***
This commit is contained in:
parent
73db725bfc
commit
ebdd538dcc
@ -466,7 +466,9 @@ Currently-active file is at the head of the list.")
|
||||
;; subprocess commands
|
||||
(define-key py-mode-map "\C-c\C-c" 'py-execute-buffer)
|
||||
(define-key py-mode-map "\C-c\C-m" 'py-execute-import-or-reload)
|
||||
(define-key py-mode-map "\C-c\C-s" 'py-execute-string)
|
||||
;; (define-key py-mode-map "\C-c\C-s" 'py-execute-string)
|
||||
;; VR STUDIO ENHANCEMENT
|
||||
(define-key py-mode-map "\C-c\C-s" 'pyd-shell)
|
||||
(define-key py-mode-map "\C-c|" 'py-execute-region)
|
||||
(define-key py-mode-map "\e\C-x" 'py-execute-def-or-class)
|
||||
(define-key py-mode-map "\C-c!" 'py-shell)
|
||||
@ -554,6 +556,7 @@ Currently-active file is at the head of the list.")
|
||||
;; VR STUDIO ENHANCEMENTS
|
||||
(define-key py-shell-map "\C-d" 'delete-char)
|
||||
(define-key py-shell-map "\C-c\C-r" 'python-resume)
|
||||
(define-key py-shell-map "\C-c\C-s" 'pyd-shell)
|
||||
)
|
||||
|
||||
(defvar py-mode-syntax-table nil
|
||||
@ -3146,6 +3149,9 @@ These are Python temporary files awaiting execution."
|
||||
;; Function to try to resume panda mainloop
|
||||
(defun python-resume ()
|
||||
(interactive)
|
||||
(end-of-buffer)
|
||||
(insert "run()")
|
||||
(newline 1)
|
||||
(py-execute-string "try:\n\trun()\nexcept:\n\tpass"))
|
||||
|
||||
(provide 'python-mode)
|
||||
|
@ -101,7 +101,7 @@ class DirectSession(PandaObject):
|
||||
bboxLines create: bboxLines lineNode.! !
|
||||
"""
|
||||
|
||||
class Line(LineSegs):
|
||||
class Line(NodePath, LineSegs):
|
||||
def __init__(self):
|
||||
LineSegs.__init__(self)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user