mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 07:41:18 -07:00
Add type to objects_in_filenames
CURA-7333
This commit is contained in:
parent
99a762bcb9
commit
5bdcc2e5ba
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import time
|
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
|
import numpy
|
||||||
from PyQt5.QtCore import QObject, QTimer, QUrl, pyqtSignal, pyqtProperty, QEvent, Q_ENUMS
|
from PyQt5.QtCore import QObject, QTimer, QUrl, pyqtSignal, pyqtProperty, QEvent, Q_ENUMS
|
||||||
|
|
@ -1383,7 +1383,7 @@ class CuraApplication(QtApplication):
|
||||||
if not nodes:
|
if not nodes:
|
||||||
return
|
return
|
||||||
|
|
||||||
objects_in_filename = {}
|
objects_in_filename = {} # type: Dict[str, List[CuraSceneNode]]
|
||||||
for node in nodes:
|
for node in nodes:
|
||||||
mesh_data = node.getMeshData()
|
mesh_data = node.getMeshData()
|
||||||
if mesh_data:
|
if mesh_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue