forked from GafferHQ/gaffer
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed SceneReader behaviour for invalid files and paths.
Previously, it would throw an exception on the first attempt, and then either silently fail or crash on subsequent attempts. This was because we were updating the fileName/path fields in LastScene _before_ the operations which might throw, rather than after. By only updating them after, they remain in sync with the true state of the corresponding fileNameScene/pathScene fields.
- Loading branch information
1 parent
5ae3ba1
commit 6de146b
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters