Blender Git Commit Log

Git Commits -> Revision e5f7b0f

Revision e5f7b0f by Sergey Sharybin (master)
August 3, 2015, 14:44 (GMT)
OpenSubdiv: Avoid crashes when GPU subsurf is tried to be used on CPU

The issue was caused by CCG code being confused by number of geometry returned
by utility functions in the case of the skipped grids.

Made it so that code is always only working with CCG data and handled drawing
code in a bit special way now.

This solves such crashes as i.e. snapping.

Commit Details:

Full Hash: e5f7b0f330c09d6944969a0cc1e496ca112f0711
Parent Commit: 4a0f3be
Lines Changed: +10, -73

4 Modified Paths:

/source/blender/blenkernel/intern/CCGSubSurf.c (+3, -27) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_intern.h (+0, -4) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf_opensubdiv.c (+0, -42) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021