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

Tweak odd cell count grids #70

Closed
JShep1 opened this issue Apr 21, 2020 · 1 comment
Closed

Tweak odd cell count grids #70

JShep1 opened this issue Apr 21, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request ogre1.x ogre2.x

Comments

@JShep1
Copy link

JShep1 commented Apr 21, 2020

With the addition of snap to grid, we wish the snap to grid button to always align the object to the visible grid. In the case that the grid has an odd cell count, the grid realigns to center itself about the origin. This will currently result in a mismatch between where the object snaps to and the visual grid. After some discussion and considering alternatives (disallow odd grid cell count, making snap to grid align to the odd cell count grid), it seems the most desired/valuable solution to this scenario is that grids with odd cell counts should still intersect the origin as does a grid with an even cell count, but an additional row and column should be appended on an arbitrary side (likely +x, +y), rather than the whole grid shifting to make itself even about the origin on all sides.

@JShep1
Copy link
Author

JShep1 commented Apr 24, 2020

Issue resolved in ign-rendering#71

@JShep1 JShep1 closed this as completed Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ogre1.x ogre2.x
Projects
None yet
Development

No branches or pull requests

1 participant