Skip to content

Commit

Permalink
#577 minor fixes
Browse files Browse the repository at this point in the history
-fixed functions being misnamed in load from file method
  • Loading branch information
ktechhydle committed Sep 4, 2024
1 parent c2133d5 commit 7d7a785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/framework/graphics_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ def load_from_file(self, filename, parent):
with open(filename, 'r') as f:
data = json.load(f)

self.scene.template_manager.deserialize(data)
self.scene.template_manager.deserialize_items(data)

elif filename.endswith('.mp'):
self.scene.undo_stack.clear()
Expand Down Expand Up @@ -934,7 +934,7 @@ def load_from_file(self, filename, parent):
with open(filename, 'r') as f:
data = json.load(f)

self.scene.template_manager.deserialize(data)
self.scene.template_manager.deserialize_items(data)

elif filename.endswith('.mp'):
self.scene.undo_stack.clear()
Expand Down Expand Up @@ -969,7 +969,7 @@ def load_from_file(self, filename, parent):
with open(filename, 'r') as f:
data = json.load(f)

self.scene.template_manager.deserialize(data)
self.scene.template_manager.deserialize_items(data)

elif filename.endswith('.mp'):
self.scene.undo_stack.clear()
Expand Down

0 comments on commit 7d7a785

Please sign in to comment.