Skip to content

Commit

Permalink
Prepared fix for issue #987.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsschmidt1337 committed Oct 10, 2023
1 parent 6681681 commit b5a7d8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ With the release of 1.8.72 you are able to...
- ...use a shortcut for "Merge to Nearest Vertex" (Ctrl+N).
- ...see a hint for wrong comment lines with just one slash (with quick-fix option).
- ...benefit from the fact that running a tool in the "3D Editor" will update the "Text Editor" immediately.
- ...see additional hints for the pivot point in the "Rotate" and "Scale".
- ...see additional hints for the pivot point in the "Rotate" and "Scale" dialog.
- ...set the filesize limit for the !DATA meta command (in the program options).

The following critical issues are fixed:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ private void calculateGrid() {
}
if (gridSize > 10f) {
gridSize = gridSize / 2f;
}
} // gridSize < 10f can't happen

gridSize = gridSize * 10f * c3d.getGridScale();
int mx = (int) (c3d.getBounds().width / gridSize + 4) / 2;
int my = (int) (c3d.getBounds().height / gridSize + 4) / 2;
Expand Down
2 changes: 1 addition & 1 deletion src/org/nschmidt/ldparteditor/i18n/Composite3D.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SELECTED_TRIANGLE = Triangle
SELECTED_TRIANGLES = Triangles
SELECTED_VERTEX = Vertex
SELECTED_VERTICES = Vertices
SET_GRID_SIZE = Set the Grid Size
SET_GRID_SIZE = Grid Size (for 1%-10% zoom)
SHOW_ALL = Show All
SHOW_EDGES = Show Lines [Type 2]
SHOW_IN_TEXT = Show Selection in Text Editor
Expand Down

0 comments on commit b5a7d8c

Please sign in to comment.