diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-04-01 16:27:11 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-04-01 17:30:45 +0300 |
commit | e81d7bfcc9f48668f8c10d453d1a4c9c97b2c284 (patch) | |
tree | 118275554589ab307727d58f4d220337e1eee3ae /source/blender/blenkernel/BKE_cachefile.h | |
parent | 5c80543c4366ee52bcc9d436c8fd7a740f7bbd9e (diff) |
Cycles: enable Alembic procedural for final renders
The Alembic procedural was only enabled during viewport renders
originally because it did not have any caching strategy. Now that
is does, we can allow its usage in final renders.
This also removes the `dag_eval_mode` argument passing to
`ModifierTypeInfo.dependsOnTime` which was originally added to detect if
we are doing a viewport render for enabling the procedural.
Differential Revision: https://developer.blender.org/D14520
Diffstat (limited to 'source/blender/blenkernel/BKE_cachefile.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cachefile.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_cachefile.h b/source/blender/blenkernel/BKE_cachefile.h index 425207398a0..41a0ad3f763 100644 --- a/source/blender/blenkernel/BKE_cachefile.h +++ b/source/blender/blenkernel/BKE_cachefile.h @@ -51,8 +51,7 @@ void BKE_cachefile_reader_free(struct CacheFile *cache_file, struct CacheReader * load the data directly if they support it. */ bool BKE_cache_file_uses_render_procedural(const struct CacheFile *cache_file, - struct Scene *scene, - int dag_eval_mode); + struct Scene *scene); /* Add a layer to the cache_file. Return NULL if the filename is already that of an existing layer * or if the number of layers exceeds the maximum allowed layer count. */ |