only change view provider stuff when GUI is up

This commit is contained in:
wmayer
2017-06-20 12:16:05 +02:00
parent c3817d2e17
commit 0f199064f3

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: