Skip to content

Commit

Permalink
Increase painting resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftFever committed Oct 15, 2023
1 parent 388b483 commit 1c26ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libslic3r/TriangleSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void TriangleSelector::select_patch(int facet_start, std::unique_ptr<Cursor> &&c
// BBS: improve details for large cursor radius
TriangleSelector::HeightRange* hr_cursor = dynamic_cast<TriangleSelector::HeightRange*>(m_cursor.get());
if (hr_cursor == nullptr) {
set_edge_limit(std::min(std::sqrt(m_cursor->radius_sqr) / 5.f, 0.2f));
set_edge_limit(std::min(std::sqrt(m_cursor->radius_sqr) / 5.f, 0.05f));
m_old_cursor_radius_sqr = m_cursor->radius_sqr;
}
else {
Expand Down
2 changes: 1 addition & 1 deletion src/slic3r/GUI/Gizmos/GLGizmoSeam.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class GLGizmoSeam : public GLGizmoPainterBase
std::string get_gizmo_entering_text() const override { return "Entering Seam painting"; }
std::string get_gizmo_leaving_text() const override { return "Leaving Seam painting"; }
std::string get_action_snapshot_name() override { return "Paint-on seam editing"; }
static const constexpr float CursorRadiusMin = 0.1f; // cannot be zero
static const constexpr float CursorRadiusMin = 0.05f; // cannot be zero

private:
bool on_init() override;
Expand Down

0 comments on commit 1c26ec9

Please sign in to comment.