Blender Git Loki

Git Commits -> Revision c046ae1

Revision c046ae1 by Campbell Barton (master)
December 23, 2010, 04:16 (GMT)
Fix for multiple modifier stack calculations per frame.

Since 2.5x blender has been using CD_MASK_BAREMESH for updating objects since object_handle_update() no longer has access to G.curscreen to calculate the mask from viewports.

The problem with this is after an initial calculation, CD_MASK_MTFACE may be required on draw, so it would recalculate the modifier stack multiple times per frame.
One case which caused this is armature animated mesh with texface in a dupligroup.

Fix this by having customdata_mask member in the scene, this isn't great design but at least fixes the bug and only changes a few files.

Commit Details:

Full Hash: c046ae14be2e0142c3ea9c5d81b946594043c3f7
SVN Revision: 33869
Parent Commit: 86b89af
Lines Changed: +16, -7

6 Modified Paths:

/source/blender/blenkernel/intern/object.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+2, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+4, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021