mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-23 07:13:51 -05:00
/stls/ and /dxfs/ excluded from deps to prevent circular dependencies.
This commit is contained in:
parent
832380f893
commit
055e90cbb3
@ -34,7 +34,7 @@ def read_deps(dname):
|
||||
for line in lines:
|
||||
if line.startswith('\t'):
|
||||
dep = line[1 : -1].rstrip(' \\').replace('\\ ', ' ')
|
||||
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad']:
|
||||
if not os.path.basename(dep) in ['stl.scad', 'dxf.scad', 'svf.scad', 'png.scad', 'target.scad'] and not '/stls/' in dep and not '/dxfs/' in dep:
|
||||
deps.append(dep)
|
||||
return deps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user