Skip to content

Comments

Implement loading project from cli arguments#91

Merged
Birdy2014 merged 4 commits intomainfrom
initial-project-loading
Mar 12, 2025
Merged

Implement loading project from cli arguments#91
Birdy2014 merged 4 commits intomainfrom
initial-project-loading

Conversation

@Birdy2014
Copy link
Collaborator

@Birdy2014 Birdy2014 commented Mar 11, 2025

Allows opening projects (and creating new ones) by passing the project location as cli argument.

When the path of a 3d model is passed instead, the current directory is used as project directory and the file is loaded into it. However, if a project already exists, that is loaded instead.

The old behaviour is removed. Running the executable without any argument will load the project from the working directory. The closest approximation for the old behaviour would be to run ./build/3d assets and instantiate the file TUD_Innenstadt.FBX manually.

@Birdy2014 Birdy2014 force-pushed the initial-project-loading branch from 436c353 to cc04c88 Compare March 12, 2025 00:44
@Birdy2014 Birdy2014 changed the title Draft: Implement loading project from cli arguments Implement loading project from cli arguments Mar 12, 2025
@Birdy2014 Birdy2014 force-pushed the initial-project-loading branch from cc04c88 to aa76a6b Compare March 12, 2025 01:14
Copy link
Owner

@pixelsandpointers pixelsandpointers left a comment

Choose a reason for hiding this comment

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

I can't test right now, but code LGTM.

@Birdy2014 Birdy2014 force-pushed the initial-project-loading branch from aa76a6b to 3e4c451 Compare March 12, 2025 14:36
@Birdy2014 Birdy2014 merged commit 37b7d97 into main Mar 12, 2025
2 checks passed
@Birdy2014 Birdy2014 deleted the initial-project-loading branch March 12, 2025 18:18
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