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

Reference texture support #728

Merged
merged 8 commits into from
May 19, 2024

Conversation

Qainguin
Copy link
Contributor

@Qainguin Qainguin commented May 11, 2024

Added Reference Image Button
Screenshot 2024-05-10 at 7 51 35 PM

Reference Popup
Screenshot 2024-05-10 at 7 53 31 PM

No Overlay
Screenshot 2024-05-10 at 7 53 15 PM

Overlay
Screenshot 2024-05-10 at 7 53 50 PM

- Added initial Implementation
   - Only .png files are supported
   - No Overlay Option
   - Only supports native file import (no web or built-in explorer support)
@Qainguin Qainguin marked this pull request as draft May 11, 2024 00:55
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't like that I have to use a signal in GlobalSettings, it feels like I'm doing something wrong.

Copy link
Owner

@MewPurPur MewPurPur May 13, 2024

Choose a reason for hiding this comment

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

IMO move it inside the Indications singleton instead.

But it's fine as it is. Just move out of draft when you feel ready.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok. I think I'll go figure that out.

@MewPurPur
Copy link
Owner

This is an excellent initial implementation.

@Qainguin
Copy link
Contributor Author

Qainguin commented May 15, 2024

Thanks! Should I mark as ready to merge or wait?

@MewPurPur
Copy link
Owner

MewPurPur commented May 15, 2024

Mark as ready if you want me to review the current code.

- Changed imported_reference signal to be in Indications and not GlobalSettings
- Hides the button when using web (Web Functionality not yet implemented)
@Qainguin Qainguin marked this pull request as ready for review May 15, 2024 13:37
@Qainguin
Copy link
Contributor Author

Qainguin commented May 15, 2024

Alright, I moved the signal to Indications and I made it invisible on web as it is not supported yet. It should now be ready to merge.

@MewPurPur
Copy link
Owner

Thanks!

@MewPurPur MewPurPur merged commit adcf14e into MewPurPur:main May 19, 2024
2 checks passed
@Qainguin Qainguin deleted the reference-texture-support branch May 20, 2024 22:49
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.

None yet

2 participants