mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix style in some components
This commit is contained in:
parent
ab339e7784
commit
c738f306fb
5 changed files with 30 additions and 5 deletions
|
@ -286,6 +286,9 @@ class FlavorParser:
|
|||
self._cancelled = False
|
||||
# We obtain the filament diameter from the selected extruder to calculate line widths
|
||||
global_stack = CuraApplication.getInstance().getGlobalContainerStack()
|
||||
if not global_stack:
|
||||
return None
|
||||
|
||||
self._filament_diameter = global_stack.extruders[str(self._extruder_number)].getProperty("material_diameter", "value")
|
||||
|
||||
scene_node = CuraSceneNode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue