OpenSubdiv: Resolve crashes when other object depends on subsurf-ed object
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 3 Aug 2015 13:57:22 +0000 (15:57 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 3 Aug 2015 13:57:22 +0000 (15:57 +0200)
commit7cfb05dcb0790cc4aa209ecb63649aa756cb730f
tree28aa72d4ef934d2f3c3206e653a522f9844ed8ba
parentb4e1b7b18c16f5fa7e8b7f475061e73dad3f4338
OpenSubdiv: Resolve crashes when other object depends on subsurf-ed object

Cases like using subsurfed object as a boolean operand can't be evaluated
on GPU and needs to have all the CCG on CPU.

This commit resolves existing configuration to survive, but new configurations
would need to have some sort of forced object update so all the data is being
moved on CPU if it was previously on GPU.
source/blender/blenkernel/BKE_depsgraph.h
source/blender/blenkernel/intern/depsgraph.c
source/blender/depsgraph/CMakeLists.txt
source/blender/depsgraph/SConscript
source/blender/depsgraph/intern/depsgraph.cc
source/blender/modifiers/intern/MOD_subsurf.c