mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix for new import syntax
This commit is contained in:
parent
5b776a03b6
commit
d538b36c30
@ -3360,7 +3360,7 @@ comint believe the user typed this string so that
|
|||||||
(interactive)
|
(interactive)
|
||||||
(let ((curbuf (current-buffer))
|
(let ((curbuf (current-buffer))
|
||||||
(procbuf (process-buffer proc))
|
(procbuf (process-buffer proc))
|
||||||
(cmd (format "import Finder; Finder.rebindClass(__builtins__.globals(), r'%s')\n" filename))
|
(cmd (format "from direct.showbase import Finder; Finder.rebindClass(__builtins__.globals(), r'%s')\n" filename))
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Goto the python buffer
|
;; Goto the python buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user