mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
Assign the render engine via shading_styles.json instead of hardcoding it.
This commit is contained in:
@@ -569,7 +569,6 @@ class CreateDrawing(bpy.types.Operator):
|
|||||||
if os.path.isfile(svg_path) and self.props.should_use_linework_cache:
|
if os.path.isfile(svg_path) and self.props.should_use_linework_cache:
|
||||||
return svg_path
|
return svg_path
|
||||||
|
|
||||||
context.scene.render.engine = "BLENDER_WORKBENCH"
|
|
||||||
context.scene.render.use_freestyle = True
|
context.scene.render.use_freestyle = True
|
||||||
context.scene.svg_export.use_svg_export = True
|
context.scene.svg_export.use_svg_export = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user