Cycles: Quiet warning with WITH_OPENSUBDIV disabled

Checked with @maiself, for now going with this simple solution.
This commit is contained in:
Julian Eisel 2016-08-07 23:20:22 +02:00
parent aa30f993d2
commit a0c187667e
Notes: blender-bot 2023-02-14 07:42:05 +01:00
Referenced by issue #49060, crashes during render with no apparent reason..
Referenced by issue #49048, Microdisplacement; adaptive dicing introduces interpolation errors in the rendered view
Referenced by issue #49049, Microdisplacement; stitching between two faces of different material indices does not exist (when dicing is used)
Referenced by issue #49051, Exp. Microdisplacement; trying to use adaptive dicing on a torus crashes Blender when starting a render
1 changed files with 3 additions and 0 deletions

View File

@ -251,6 +251,9 @@ void PackedPatchTable::pack(Far::PatchTable* patch_table, int offset)
}
build_patch_map(*this, patch_table, offset);
#else
(void)patch_table;
(void)offset;
#endif
}