Skip to content

Commit 1e34167

Browse files
committed
Fix invalid editor import paths
1 parent 445036a commit 1e34167

2 files changed

Lines changed: 4 additions & 770 deletions

File tree

desktop_qt_ui/ui/editor/graphics_view_input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def _finish_drawing(self):
377377
(old_mask_np is not None and not np.array_equal(old_mask_np, new_mask_np))
378378

379379
if mask_changed:
380-
from .commands import MaskEditCommand
380+
from editor.commands import MaskEditCommand
381381

382382
if self._active_tool in ["pen", "brush"] and np.any(stroke_mask):
383383
if mask_changed:
@@ -454,7 +454,7 @@ def _finish_paint_overlay_drawing(self):
454454
self._clear_preview()
455455
return
456456

457-
from .commands import PaintOverlayEditCommand
457+
from editor.commands import PaintOverlayEditCommand
458458

459459
command = PaintOverlayEditCommand(
460460
model=self.model,
@@ -807,7 +807,7 @@ def _create_new_text_region(self, rect):
807807

808808
controller = self._get_controller()
809809
if controller:
810-
from .commands import AddRegionCommand
810+
from editor.commands import AddRegionCommand
811811

812812
self._clear_pending_geometry_edits()
813813
command = AddRegionCommand(

0 commit comments

Comments
 (0)