mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:15:54 +08:00
Add type to objects_in_filenames
CURA-7333
This commit is contained in:
parent
99a762bcb9
commit
5bdcc2e5ba
@ -5,7 +5,7 @@ import os
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
from typing import cast, TYPE_CHECKING, Optional, Callable, List, Any
|
||||
from typing import cast, TYPE_CHECKING, Optional, Callable, List, Any, Dict
|
||||
|
||||
import numpy
|
||||
from PyQt5.QtCore import QObject, QTimer, QUrl, pyqtSignal, pyqtProperty, QEvent, Q_ENUMS
|
||||
@ -1383,7 +1383,7 @@ class CuraApplication(QtApplication):
|
||||
if not nodes:
|
||||
return
|
||||
|
||||
objects_in_filename = {}
|
||||
objects_in_filename = {} # type: Dict[str, List[CuraSceneNode]]
|
||||
for node in nodes:
|
||||
mesh_data = node.getMeshData()
|
||||
if mesh_data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user