Changeset 153:6c5f1a78db75


Ignore:
Timestamp:
Sep 2, 2013, 9:48:09 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Levels need a pymunk Space to load

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r152 r153  
    1919
    2020sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
     21
     22import pymunk
    2123
    2224from albow.root import RootWidget
     
    333335    if len(sys.argv) == 2:
    334336        level = EditorLevel(sys.argv[1])
    335         level.load()
     337        level.load(pymunk.Space())
    336338    elif len(sys.argv) == 4:
    337339        level = EditorLevel(sys.argv[1], int(sys.argv[2]), int(sys.argv[3]))
Note: See TracChangeset for help on using the changeset viewer.