Paint up to 32

This commit is contained in:
Ian Bassi
2026-06-01 09:24:54 -03:00
parent 1ecedd3187
commit c858360ee6
3 changed files with 21 additions and 9 deletions
@@ -72,11 +72,8 @@ public:
void data_changed(bool is_serializing) override;
// TriangleSelector::serialization/deserialization has a limit to store 19 different states.
// EXTRUDER_LIMIT + 1 states are used to storing the painting because also uncolored triangles are stored.
// When increasing EXTRUDER_LIMIT, it needs to ensure that TriangleSelector::serialization/deserialization
// will be also extended to support additional states, requiring at least one state to remain free out of 19 states.
static const constexpr size_t EXTRUDERS_LIMIT = 16;
// Keep the paint gizmo limit aligned with TriangleSelector state capacity.
static const constexpr size_t EXTRUDERS_LIMIT = static_cast<size_t>(EnforcerBlockerType::ExtruderMax);
const float get_cursor_radius_min() const override { return CursorRadiusMin; }