Skip to content

Commit ff576e3

Browse files
author
Michael Weibel
committed
fix UDIM collect - version 0.1.15
1 parent 28a7f87 commit ff576e3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

helio_blender_addon/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
bl_info = {
2323
"name": "Helio Cloud Rendering",
2424
"blender": (3, 20, 0),
25-
"version": (0, 1, 14),
25+
"version": (0, 1, 15),
2626
"category": "Render",
2727
"tracker_url": "https://github.com/helio/blender-addon/issues"
2828
}

helio_blender_addon/addon.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,13 @@ def invoke(self, context, event):
268268
log.debug("all paths: %s", paths)
269269

270270
for path in paths:
271-
self._steps.append(('copy', path))
271+
if '<UDIM>' in path:
272+
print(path, Path(path).parent)
273+
tp = Path(path)
274+
for p in tp.parent.glob(tp.name.replace('<UDIM>', '*')):
275+
self._steps.append(('copy', str(p)))
276+
else:
277+
self._steps.append(('copy', path))
272278

273279
self._steps.append(('relink', project_path))
274280
self._steps.append(('resave', project_filepath))

0 commit comments

Comments
 (0)