Page MenuHome

Mantaflow cycles render fails when started via Python
Confirmed, NormalPublic

Description

System Information
Operating system: CentOS Linux
Graphics card: GTX 1080 Driver Version: 418.88

Blender Version
Broken: (example: 2.83 Alpha, Hash-cd0a02862404, master, 2020-02-04)

Description
If a mantaflow smoke object exists Rendering with F12 or Ctrl+F12 works as expected. If python is used to initiate a render (via internal GUI console or command line with the flag -P) the mantaflow domain isn't rendered, an error ( below ) is produced, and blender hangs.

error...

Traceback (most recent call last):
File "<string>", line 55, in <module>
NameError: name 'Vec3Grid' is not defined
Traceback (most recent call last):
File "<string>", line 3, in <module>
NameError: name 'PcMGDynamic' is not defined

To reproduce the error, have a cached mantaflow domain and initiate a render from python (bpy.ops.render.render()) either from within an open blender GUI or from command line (blender -b mantaflow_included.blend -P render.py)


Event Timeline

Evan Ryan (evantryan) renamed this task from Mantaflow render fails to Mantaflow render fails when started via Python.Wed, Feb 5, 9:31 PM
Evan Ryan (evantryan) renamed this task from Mantaflow render fails when started via Python to Mantaflow cycles render fails when started via Python.
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Thu, Feb 6, 8:19 PM
Richard Antalik (ISS) added a project: Python.