Add Support for Dynamic Paint Modifier #92889
@ -337,8 +337,8 @@ def modifier_dynamic_paint(
|
|||||||
|
|
||||||
surfaces = canvas_settings.get_pointer((b"surfaces", b"first"))
|
surfaces = canvas_settings.get_pointer((b"surfaces", b"first"))
|
||||||
|
|
||||||
for surface in blendfile.iterators.listbase(surfaces):
|
for surf_idx, surface in enumerate(blendfile.iterators.listbase(surfaces)):
|
||||||
surface_block_name = block_name + b"%s.canvas_settings.surfaces[%d]"
|
surface_block_name = block_name + b".canvas_settings.surfaces[%d]" % (surf_idx)
|
||||||
point_cache = surface.get_pointer(b"pointcache")
|
point_cache = surface.get_pointer(b"pointcache")
|
||||||
if point_cache is None:
|
if point_cache is None:
|
||||||
my_log.debug(
|
my_log.debug(
|
||||||
|
Loading…
Reference in New Issue
Block a user