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

Disable merging (during tool operation) #1013

Open
Eneroth3 opened this issue Nov 15, 2024 · 2 comments
Open

Disable merging (during tool operation) #1013

Eneroth3 opened this issue Nov 15, 2024 · 2 comments

Comments

@Eneroth3
Copy link

I've created several custom move tools. All of these have to preview the moved object with completely custom code if they are going to move edges and faces, traditionally a wireframe but more recently shaded and even textured polygons.

Components can be moved freely to follow the mouse cursor in the mouse move event, but edges and faces would stick and merge to any geometry you drag them over.

To make a custom modifier tool it would help a lot of you could temporarily disable the geometry merging until the user clicks to commit. This is similar to how SketchUp native tools work.

This also applies to any custom scale, rotate, pushpull (like Fredo's tools I'd imagine) and other modifier tools.

@thomthom
Copy link
Member

I've been wondering if a new draw method would be useful for this. One where the polygons passed in are drawn using the current style.

Doing so would be faster than using temp entities.

@Eneroth3
Copy link
Author

Eneroth3 commented Nov 26, 2024 via email

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

No branches or pull requests

2 participants