0

create filter identifiers from render name instead of region set

This allows for separate sets of markers when multiple renders share the same region set (dimension).
This commit is contained in:
Kevin Chang
2015-12-04 01:43:11 -08:00
parent 0ba0c60ed2
commit eabda0750c

View File

@@ -466,7 +466,7 @@ def main():
# find filters for this render
for f in render['markers']:
# internal identifier for this filter
name = replaceBads(f['name']) + hex(hash(f['filterFunction']))[-4:] + "_" + hex(hash(rset))[-4:]
name = replaceBads(f['name']) + hex(hash(f['filterFunction']))[-4:] + "_" + hex(hash(rname))[-4:]
# add it to the list of filters
filters.add((name, f['name'], f['filterFunction'], rset, worldpath, rname))