Draft: Fixed error in SVG rendering of LinkedArrays - fixes #6516
This commit is contained in:
@@ -753,7 +753,7 @@ def get_svg(obj,
|
||||
obj.Proxy.getArea(obj, notouch=True)
|
||||
if hasattr(obj.Proxy, "face"):
|
||||
# setting fill
|
||||
if App.GuiUp:
|
||||
if App.GuiUp and hasattr(vobj,"ShapeColor"):
|
||||
fill = utils.get_rgb(vobj.ShapeColor,
|
||||
testbw=False)
|
||||
fill_opacity = 1 - vobj.Transparency / 100.0
|
||||
@@ -822,7 +822,7 @@ def get_svg(obj,
|
||||
|
||||
vobj = obj.ViewObject
|
||||
if m != "Wireframe":
|
||||
if fillstyle == "shape color":
|
||||
if (fillstyle == "shape color") and hasattr(vobj,"ShapeColor"):
|
||||
fill = utils.get_rgb(vobj.ShapeColor,
|
||||
testbw=False)
|
||||
fill_opacity = 1 - vobj.Transparency / 100.0
|
||||
|
||||
Reference in New Issue
Block a user