[Bf-committers] Mesh display update bug in face select & modifiers.

Campbell Barton cbarton at metavr.com
Mon Jan 9 12:20:07 CET 2006


Hi, I reported this a while back and it was fixed in a few areas but 
theres quite a lot of other places it need to be fixed.

Any functions changing a meshes TFace data will not update in the 
viewport if the mesh has a modifier applied and is in face select mode.
Cycling in and out of editmode works for updating at the moment.

reveal_tface_uv();
hide_tface_uv(0/1);
clear_vpaint_selectedfaces();

Some of these functions have a
        DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
below them, these update properly, but the others dont.

One thing stopping every one of these functions from having DAG_... 
update underneath them, is that you need the active object. Not a 
biggie, but was wondering if there was a better way? - like calling 
DAG_object_flush_update from the functions themselves? (redraw could be 
an optional parametre)

- Cam


More information about the Bf-committers mailing list