Maniphest T78866

Writing to the body of an animated text object in a frame_change_post handler suppress animation during rendering.
Closed, Duplicate

Assigned To
None
Authored By
Omar Emara (OmarSquircleArt)
Jul 12 2020, 9:17 PM
Tags
  • BF Blender
Subscribers
Omar Emara (OmarSquircleArt)

Description

System Information
Operating system: Linux

Blender Version
Broken: 2.90 Alpha

Short description of error

Writing to the body of an animated text object in a frame_change_post handler suppress animation during rendering, while view-port works fine.

Exact steps for others to reproduce the error

Open the included file. Execute the script. Render the animation. The text object doesn't move.

import bpy

bpy.app.handlers.frame_change_post.clear()

def test_handler(scene, depsgraph):
    scene.objects['Text'].data.body = str(int(scene.frame_current))

bpy.app.handlers.frame_change_post.append(test_handler)

Event Timeline

Omar Emara (OmarSquircleArt) created this task.Jul 12 2020, 9:17 PM