Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ability to write to a LDraw file & open multiple documents simultaneously #58

Merged
merged 11 commits into from
Aug 12, 2021

Conversation

bb1950328
Copy link
Owner

This resolves #3.
The writing was surprisingly easy. The refactoring of many functionalities that were in the controller:: namespace into a Editor class was more time-consuming. But now the user can edit multiple files at once.
The user_actions:: component was also refactored slightly. Action is an enum now and there is a callback to check if a certain action is enabled right now.

- do not write trailing zeroes
- fixes for mpd documents (still not all fixed, LDView reports some errors)

fix concurrency issue when rebuilding file list
- fixed output for mpd files
- small cleanup
t=6.2h
- add functionality to save changes from element tree back to ldr::File (untested)
…now opening multiple files at the same time is supported

* refactor user_actions::Action into an enum
(still things to do until the refactoring is complete, but it runs again)
log time
t=10.5h
@github-actions
Copy link

github-actions bot commented Aug 12, 2021

Catch2 Test Results

    2 files  ±0      2 suites  ±0   0s ⏱️ ±0s
156 tests ±0  156 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
782 runs  ±0  782 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit c5d6add. ± Comparison against base commit c5d6add.

♻️ This comment has been updated with latest results.

@bb1950328 bb1950328 merged commit c5d6add into master Aug 12, 2021
@bb1950328 bb1950328 deleted the write_ldr branch August 12, 2021 09:21
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.

Save to .ldr or .mpd
1 participant