mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Fix non-slicable check
CURA-5465
This commit is contained in:
parent
41194fceed
commit
1f15599b4d
@ -1640,10 +1640,7 @@ class CuraApplication(QtApplication):
|
|||||||
node.setName(os.path.basename(file_name))
|
node.setName(os.path.basename(file_name))
|
||||||
self.getBuildVolume().checkBoundsAndUpdate(node)
|
self.getBuildVolume().checkBoundsAndUpdate(node)
|
||||||
|
|
||||||
is_non_sliceable = False
|
is_non_sliceable = "." + file_extension in self._non_sliceable_extensions
|
||||||
|
|
||||||
if file_extension in self._non_sliceable_extensions:
|
|
||||||
is_non_sliceable = True
|
|
||||||
|
|
||||||
if is_non_sliceable:
|
if is_non_sliceable:
|
||||||
self.callLater(lambda: self.getController().setActiveView("SimulationView"))
|
self.callLater(lambda: self.getController().setActiveView("SimulationView"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user