We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 348238f + c9dcf67 commit ce53a2bCopy full SHA for ce53a2b
blenderproc/python/utility/Initializer.py
@@ -163,4 +163,6 @@ def remove_all_data(remove_camera: bool = True):
163
def remove_custom_properties():
164
""" Remove all custom properties registered at global entities like the scene. """
165
for key in list(bpy.context.scene.keys()):
166
- del bpy.context.scene[key]
+ # Do not remove blender's internal property "cycles"
167
+ if key not in ["cycles"]:
168
+ del bpy.context.scene[key]
0 commit comments