mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Use is not operator rather than not ...is
This is advocated by both PEP8 and the Google Python Style Guide
This commit is contained in:
parent
d65e198e8c
commit
0f0815efab
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ class X3DReader(MeshReader):
|
|||
# Columns are the unit vectors for the xz plane for the cross-section
|
||||
if orient:
|
||||
mrot = orient[i] if len(orient) > 1 else orient[0]
|
||||
if not mrot is None:
|
||||
if mrot is not None:
|
||||
m = m.dot(mrot) # Tested against X3DOM, the result matches, still not sure :(
|
||||
|
||||
if scale:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue