Further glue for overlays. Make the validator actually validate. Also rough outlines for checking if
the render you've specified in the overlay actually exists and isn't itself.
This commit is contained in:
@@ -55,7 +55,8 @@ def validateOverlays(renderlist):
|
||||
if type(renderlist) != list:
|
||||
raise ValidationException("Overlay must specify a list of renders")
|
||||
for x in renderlist:
|
||||
print x
|
||||
if validateStr(x) == '':
|
||||
raise ValidationException("%r must be a string"% x)
|
||||
return renderlist
|
||||
|
||||
def validateWorldPath(worldpath):
|
||||
|
||||
Reference in New Issue
Block a user