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

Make edit mode entity ellipses more detailed #989

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Jan 2, 2020

This makes edit mode ellipses look less "angular".

Preview

Hovered entity ellipse

Copy link
Member

@qreeves qreeves left a comment

Choose a reason for hiding this comment

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

Changes requested.

@@ -1047,12 +1047,16 @@ struct loopprimitiverenderer : listrenderer<loopprimitive>

void renderpart(loopprimitive *p, int blend, int ts, float size)
{
// The number of polygon sides to use.
// The polygon rendering breaks if this is set too high.
const int detail = 40;
Copy link
Member

Choose a reason for hiding this comment

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

I think I would rather this be a variable. There are legitimate performance reasons to not want ellipses to be highly detailed as there can be large amounts of them if you select a lot of entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants