only change view provider stuff when GUI is up

This commit is contained in:
wmayer
2017-06-20 12:16:05 +02:00
parent 08a30880f3
commit 3bb9a9e29b

View File

@@ -267,7 +267,8 @@ class ObjectContour:
path = Path.Path(commandlist)
obj.Path = path
obj.ViewObject.Visibility = True
if obj.ViewObject:
obj.ViewObject.Visibility = True
class _ViewProviderContour: