From: daid Date: Mon, 24 Feb 2014 08:36:24 +0000 (+0100) Subject: Fix brim not always showing. X-Git-Tag: 14.03~27^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=89e866fe0a4655ae842cfc0d1846ee0415826104;p=cura.git Fix brim not always showing. --- diff --git a/Cura/gui/util/engineResultView.py b/Cura/gui/util/engineResultView.py index 53cf51c7..1a7e88f7 100644 --- a/Cura/gui/util/engineResultView.py +++ b/Cura/gui/util/engineResultView.py @@ -104,7 +104,12 @@ class engineResultView(object): if result._polygons is not None and n + 20 < len(result._polygons): layerVBOs = self._layer20VBOs[idx] for typeName, typeNameGCode, color in lineTypeList: - if (typeName in result._polygons[n + 19]) or (typeName == 'skirt' and typeName in result._polygons[n]): + allow = typeName in result._polygons[n + 19] + if typeName == 'skirt': + for i in xrange(0, 20): + if typeName in result._polygons[n + i]: + allow = True + if allow: if typeName not in layerVBOs: if generatedVBO: continue