Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_vertex.c
| Show First 20 Lines • Show All 1,159 Lines • ▼ Show 20 Lines | else if (me->editflag & ME_EDIT_PAINT_FACE_SEL) { | ||||
| BKE_mesh_flush_select_from_polys(me); | BKE_mesh_flush_select_from_polys(me); | ||||
| } | } | ||||
| } | } | ||||
| else { | else { | ||||
| BLI_assert(0); | BLI_assert(0); | ||||
| } | } | ||||
| /* If the cache is not released by a cancel or a done, free it now. */ | /* If the cache is not released by a cancel or a done, free it now. */ | ||||
| if (ob->sculpt->cache) { | if (ob->sculpt && ob->sculpt->cache) { | ||||
| sculpt_cache_free(ob->sculpt->cache); | sculpt_cache_free(ob->sculpt->cache); | ||||
| ob->sculpt->cache = NULL; | ob->sculpt->cache = NULL; | ||||
| } | } | ||||
| BKE_sculptsession_free(ob); | BKE_sculptsession_free(ob); | ||||
| paint_cursor_delete_textures(); | paint_cursor_delete_textures(); | ||||
| ▲ Show 20 Lines • Show All 2,055 Lines • Show Last 20 Lines | |||||