Add Support for Dynamic Paint Modifier #92889

Merged
Sybren A. Stüvel merged 2 commits from JonasDichelle/blender-asset-tracer:dynamicpaint_support into main 2024-09-02 18:19:08 +02:00
Showing only changes of commit bde361953b - Show all commits

View File

@ -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(