Skip to content

Fix editor crash when missing required project directories#67

Merged
WireWhiz merged 5 commits intoBraneReality:Mainfrom
rgnter:fix/editor-path-crash
Sep 17, 2025
Merged

Fix editor crash when missing required project directories#67
WireWhiz merged 5 commits intoBraneReality:Mainfrom
rgnter:fix/editor-path-crash

Conversation

@rgnter
Copy link
Contributor

@rgnter rgnter commented Sep 16, 2025

Includes some other required fixes I had to make to have the project compile. Please review on commit-by-commit basis.


_fileWatcher = std::make_unique<FileWatcher>();
_fileWatcher->loadCache(projectDirectory() / "cache" / "changeCache");
_fileWatcher->loadCache(projectDirectory() / "cache" / "changeCache.bin");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break existing caches but it's clearer that this is a binary cache file, would you like to keep this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not worried about breaking changes at all until we release a LTS version. I prefer the more descriptive name

@rgnter rgnter force-pushed the fix/editor-path-crash branch from f40471f to 804cbd8 Compare September 16, 2025 20:00
@rgnter rgnter changed the base branch from Main to refactor/editor-state September 16, 2025 20:12
@rgnter rgnter changed the base branch from refactor/editor-state to Main September 16, 2025 20:13
@WireWhiz WireWhiz merged commit 1f97801 into BraneReality:Main Sep 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants