Fix: modifier execution time not set for grease pencil modifiers
This commit is contained in:
@@ -1882,6 +1882,8 @@ static void grease_pencil_evaluate_modifiers(Depsgraph *depsgraph,
|
||||
continue;
|
||||
}
|
||||
|
||||
blender::bke::ScopedModifierTimer modifier_timer{*md};
|
||||
|
||||
if (mti->modify_geometry_set != nullptr) {
|
||||
mti->modify_geometry_set(tmd, &mectx, &geometry_set);
|
||||
}
|
||||
@@ -1897,6 +1899,8 @@ static void grease_pencil_evaluate_modifiers(Depsgraph *depsgraph,
|
||||
continue;
|
||||
}
|
||||
|
||||
blender::bke::ScopedModifierTimer modifier_timer{*md};
|
||||
|
||||
if (mti->modify_geometry_set != nullptr) {
|
||||
mti->modify_geometry_set(md, &mectx, &geometry_set);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user