mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix non-slicable check
CURA-5465
This commit is contained in:
parent
41194fceed
commit
1f15599b4d
1 changed files with 1 additions and 4 deletions
|
|
@ -1640,10 +1640,7 @@ class CuraApplication(QtApplication):
|
|||
node.setName(os.path.basename(file_name))
|
||||
self.getBuildVolume().checkBoundsAndUpdate(node)
|
||||
|
||||
is_non_sliceable = False
|
||||
|
||||
if file_extension in self._non_sliceable_extensions:
|
||||
is_non_sliceable = True
|
||||
is_non_sliceable = "." + file_extension in self._non_sliceable_extensions
|
||||
|
||||
if is_non_sliceable:
|
||||
self.callLater(lambda: self.getController().setActiveView("SimulationView"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue