mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 22:31:21 -07:00
Code cleanup
Changed to "is None" insted of "== None" to test if numpy.array was initialized Added extruder to PathSegment in Cura.proto Changed index_pattern to class variable in Layer.py
This commit is contained in:
parent
bbd49cee85
commit
d31516bbb1
3 changed files with 16 additions and 9 deletions
|
|
@ -63,7 +63,7 @@ class LayerPolygon:
|
|||
|
||||
|
||||
def build(self, vertex_offset, index_offset, vertices, colors, indices):
|
||||
if (self._build_cache_line_mesh_mask == None) or (self._build_cache_needed_points == None ):
|
||||
if (self._build_cache_line_mesh_mask is None) or (self._build_cache_needed_points is None ):
|
||||
self.buildCache()
|
||||
|
||||
line_mesh_mask = self._build_cache_line_mesh_mask
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue