Convert hexified ID name to upper case
Our test case accidentally has a numerical-only hex representation, which doesn't show this issue.
This commit is contained in:
parent
63118d250c
commit
893c1f2231
@ -135,7 +135,7 @@ def _walk_point_cache(ctx: ModifierContext,
|
|||||||
if not name:
|
if not name:
|
||||||
# See ptcache_filename() in pointcache.c
|
# See ptcache_filename() in pointcache.c
|
||||||
idname = ctx.owner[b'id', b'name']
|
idname = ctx.owner[b'id', b'name']
|
||||||
name = idname[2:].hex().encode()
|
name = idname[2:].hex().upper().encode()
|
||||||
path = b'//%b%b/%b_*%b' % (
|
path = b'//%b%b/%b_*%b' % (
|
||||||
cdefs.PTCACHE_PATH,
|
cdefs.PTCACHE_PATH,
|
||||||
bfile.filepath.stem.encode(),
|
bfile.filepath.stem.encode(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user