mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
leveleditor: Fixed relative import for start
- Relative imports only work within modules, not in scripts (as LevelEditorStart is expected to be called directly, not imported).
This commit is contained in:
parent
58f6f61c4e
commit
294dc5fc40
@ -1,4 +1,4 @@
|
||||
from . import LevelEditor
|
||||
from direct.leveleditor import LevelEditor
|
||||
|
||||
if __name__ == '__main__':
|
||||
base.le = LevelEditor.LevelEditor()
|
||||
|
Loading…
x
Reference in New Issue
Block a user