We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3682de commit f175c54Copy full SHA for f175c54
props.py
@@ -106,6 +106,8 @@ def clear_drivers(obj, prop_name: str):
106
case 'uv_tiling':
107
driver_obj = obj.node_tree
108
driver_paths = {('nodes["Mapping"].inputs[3].default_value', i) for i in (0, 1)}
109
+ if driver_obj.animation_data is None:
110
+ return
111
for d in driver_obj.animation_data.drivers:
112
if (d.data_path, d.array_index) in driver_paths:
113
driver_obj.driver_remove(d.data_path, d.array_index)
0 commit comments