Browse Source

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).
Kyle Smith 7 years ago
parent
commit
294dc5fc40
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/leveleditor/LevelEditorStart.py

+ 1 - 1
direct/src/leveleditor/LevelEditorStart.py

@@ -1,4 +1,4 @@
-from . import LevelEditor
+from direct.leveleditor import LevelEditor
 
 if __name__ == '__main__':
     base.le = LevelEditor.LevelEditor()