Fix: Missing super().__del__() in Cycles and Hydra render engine

According to the Python API release notes, this is required now along
with super().__init__() which was already done.

Also fixes mistake in example in API docs.

Pull Request: https://projects.blender.org/blender/blender/pulls/132476
This commit is contained in:
Brecht Van Lommel
2024-12-31 15:18:25 +01:00
committed by Brecht Van Lommel
parent c3a7acd034
commit f301952b6a
3 changed files with 3 additions and 1 deletions

View File

@@ -206,7 +206,7 @@ must always be called, otherwise Blender's internal initialization won't happen
def __del__(self):
...
super.__del__()
super().__del__()
.. note::