diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-02-14 18:35:25 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-02-14 18:36:32 +0300 |
commit | 56407432a6aae92dc272f7c8b37fc664e8d2108d (patch) | |
tree | 7437d387cea8fd107784583007a242cbfad83a5f /source/blender/modifiers/intern/MOD_meshsequencecache.c | |
parent | 0999a01b03d4ee727ff73661ec35c8c169926689 (diff) |
Fix T94479: GPU Subdivision surface modifier does not apply to Cycles renders
Since now we delegate the evaluation of the last subsurf modifier in the stack
to the draw code, Cycles does not get a subdivided mesh anymore. This is because
the subdivision wrapper for generating a CPU side subdivision is never created
as it is only ever created via `BKE_object_get_evaluated_mesh` which Cycles does
not call (rather, it accesses the Mesh either via `object.data()`, or via
`object.to_mesh()`).
This ensures that a subdivision wrapper is created when accessing the object data
or converting an Object to a Mesh via the RNA/Python API.
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D14048
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshsequencecache.c')
0 files changed, 0 insertions, 0 deletions