Cycles/Eeeve: unify film transparent setting

For existing files, it will use the setting from Cycles or Eevee depending on
the render engine in the scene.

Differential Revision: https://developer.blender.org/D4874
This commit is contained in:
2019-05-16 17:03:16 +02:00
committed by Brecht Van Lommel
parent 2ee762344f
commit 9f6670ca37
10 changed files with 30 additions and 48 deletions

View File

@@ -850,9 +850,6 @@ class CLIP_OT_setup_tracking_scene(Operator):
# Ensure no nodes were created on the position of existing node.
self._offsetNodes(tree)
if hasattr(scene, "cycles"):
scene.cycles.film_transparent = True
@staticmethod
def _createMesh(collection, name, vertices, faces):
from bpy_extras.io_utils import unpack_list