Add Support for Dynamic Paint Modifier #92889
@ -337,8 +337,8 @@ def modifier_dynamic_paint(
|
||||
|
||||
surfaces = canvas_settings.get_pointer((b"surfaces", b"first"))
|
||||
|
||||
for surface in blendfile.iterators.listbase(surfaces):
|
||||
surface_block_name = block_name + b"%s.canvas_settings.surfaces[%d]"
|
||||
for surf_idx, surface in enumerate(blendfile.iterators.listbase(surfaces)):
|
||||
surface_block_name = block_name + b".canvas_settings.surfaces[%d]" % (surf_idx)
|
||||
|
||||
point_cache = surface.get_pointer(b"pointcache")
|
||||
if point_cache is None:
|
||||
my_log.debug(
|
||||
|
Loading…
Reference in New Issue
Block a user
Does the block name really have
%s
and%d
in it? If that is indeed the case, please add a comment to explain this.That's a mistake, fixed it in the new commit, sorry.