Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-11-25 16:11:44 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-11-25 16:11:44 +0300
commita1bf207be31f4bb578e920bc472cc3471a6554ca (patch)
tree4c8eafd32e190c9d3292c0edf3ce27bb5bd5e31b /source/blender/editors/sculpt_paint
parent90cc7c8abd7b4c36002031edba8b75207fb98086 (diff)
Sculpt: Subsurf
* Now uses the CCG DerivedMesh also in object mode, used to be edit mode only. * Create CD_ORIGINDEX layer on demand, to save memory. * Removed ss_to_cdderivedmesh function, and instead create ccgdm and then convert that to cddm, to avoid code duplication. * Added and implement DerivedMesh interface functions to obtain face grids. * Store edge/face flags more memory efficient. * Export CCGDerivedMesh struct in BKE_subsurf.h
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 1f230b5cd65..873bbc2baa6 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1368,7 +1368,7 @@ void sculpt_update_mesh_elements(bContext *C, int need_fmap)
}
ss->ob = ob;
- ss->tree = dm->getPBVH(dm);
+ ss->tree = dm->getPBVH(ob, dm);
ss->fmap = (need_fmap)? dm->getFaceMap(dm): NULL;
}