mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
ENH: refine the color painting logics
1. optimize color painting performance 2. fix the issue that painting does not show if moving fast after bucket fill Signed-off-by: yifan.wu <yifan.wu@bambulab.com> Change-Id: I72204aac81b14c87edb602677abeef13ee0fad8f (cherry picked from commit 02560f31c413cb561800fca242f8ef30504d0384)
This commit is contained in:
parent
988910f986
commit
9df3e7500a
6 changed files with 30 additions and 10 deletions
|
@ -87,6 +87,7 @@ public:
|
|||
protected:
|
||||
// BBS
|
||||
std::array<float, 4> get_cursor_hover_color() const override;
|
||||
void on_set_state() override;
|
||||
|
||||
EnforcerBlockerType get_left_button_state_type() const override { return EnforcerBlockerType(m_selected_extruder_idx + 1); }
|
||||
EnforcerBlockerType get_right_button_state_type() const override { return EnforcerBlockerType::NONE; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue