Skip to content

Updated overlay to use new circle feature available in EDMCModernOverlay - #57

Open
SweetJonnySauce wants to merge 1 commit into
Silarn:masterfrom
SweetJonnySauce:modern-overlay-circle
Open

Updated overlay to use new circle feature available in EDMCModernOverlay#57
SweetJonnySauce wants to merge 1 commit into
Silarn:masterfrom
SweetJonnySauce:modern-overlay-circle

Conversation

@SweetJonnySauce

@SweetJonnySauce SweetJonnySauce commented Aug 30, 2026

Copy link
Copy Markdown

EDMCModernOverlay v0.9.2+ now has the send_shape(shape='circle'...) feature (pre-release version here).

This PR checks to see if the overlay is modern_overlay (existing check) and then checks to makes sure the version is compatible (via type error on radius argument). If it's compatible, it'll use the new send_shape(shape='circle'...) feature and if not, it falls back to the old vector circle.

It also updates available() to try a lazy re-import of EDMCModernOverlay via _connect_overlay() (I had an issue with it not loading due to EDMC loading order).

image

…erlay v0.9.2. Will gracefully fall back to old version if 1) overlay is not `modern_overlay` and 2) if version of EDMCMO is <0.9.2 (via type error).
@Silarn

Silarn commented Aug 30, 2026

Copy link
Copy Markdown
Owner

I'm fine with this in general, though I may take a look at the import stuff a bit.

Can you migrate the circle code to a standalone function so we have less bloat in the main render function?

@SweetJonnySauce

Copy link
Copy Markdown
Author

Yeah, I can do that.

@Silarn

Silarn commented Sep 7, 2026

Copy link
Copy Markdown
Owner

@SweetJonnySauce Any progress on this?

@SweetJonnySauce

Copy link
Copy Markdown
Author

Sorry no. IRL stuff and I prioritized getting a surface mining beta out.

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