Draft: Update gui_setstyle.py and gui_utils.py (#8195)
This commit is contained in:
@@ -405,12 +405,7 @@ def format_object(target, origin=None):
|
||||
if "PointColor" in obrep.PropertiesList:
|
||||
obrep.PointColor = lcol
|
||||
if "LineColor" in obrep.PropertiesList:
|
||||
if hasattr(obrep,"FontName"):
|
||||
# Do not use lcol for annotations.
|
||||
# ToDo: add line color preference for annotations.
|
||||
obrep.LineColor = tcol
|
||||
else:
|
||||
obrep.LineColor = lcol
|
||||
obrep.LineColor = lcol
|
||||
if "ShapeColor" in obrep.PropertiesList:
|
||||
obrep.ShapeColor = fcol
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user