Fix AI Paint tool processing state and use full U2net model
- Fix brush_select isProcessing flag not resetting after first use (reset in on_leave() when switching tools) - Add onnxruntime dependency for U2net background removal - Use full U2net model (176MB) instead of lightweight for better quality https://claude.ai/code/session_01CLedz6CanT9t46KBvng3vz
This commit is contained in:
@@ -764,6 +764,7 @@ class Brush_select_class extends Base_tools_class {
|
||||
|
||||
on_leave() {
|
||||
this.isDrawing = false;
|
||||
this.isProcessing = false; // Reset processing state when leaving tool
|
||||
this.brushPath = [];
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user