Fix: Node operators crash when using depsgraph
The scene time node and volume nodes crashed, since the despgraph needs to be retrieved from the operator data instead of modifier data.
This commit is contained in:
@@ -217,6 +217,9 @@ class GeoNodeExecParams {
|
||||
if (data->modifier_data) {
|
||||
return data->modifier_data->depsgraph;
|
||||
}
|
||||
if (data->operator_data) {
|
||||
return data->operator_data->depsgraph;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user