diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-28 00:16:41 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-28 00:16:41 +0400 |
commit | 4b1588e277d6a6e6bc7dc9553652d2ca4aad2d73 (patch) | |
tree | 39310f93a57a9d3cbac4be639723a5aed2eb6291 /source/blender/src/toolbox.c | |
parent | 410512e2656007587cc1671c71c37cbc0b5bda4f (diff) |
- update storage.c to use standard time codes (should fix issue
with MSVS 8)
- broke mesh_create_shadedColors out of shadeDispList, used to
build vertex colors for mesh in vpaint as well (also fixed
bug where they were not initialized correctly for subsurfs)
- added modifier_copyData and modifier_findByType functions
- change editmode modifiers to only calculate if Realtime and
Editmode bits are both set, makes more sense for copying
modifiers
- update object_copy to correctly copy modifiers
- removed duplicate redefinition of ME_ attributes in python,
this is a horrible idea, why was it done in the first place?
- update armature auto vertex group code to check for subsurf
in modifier stack
- fixed flip_subdivision to work with move to modifier stack
- added copymenu_modifiers, can copy all modifiers or just
data from first modifier of a certain type (not sure how
to deal with multiple modifiers of same type... not
a big issue though I think)
Diffstat (limited to 'source/blender/src/toolbox.c')
-rw-r--r-- | source/blender/src/toolbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index e104b404f39..9bf5468bf1e 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -1807,7 +1807,7 @@ static void tb_do_mesh(void *arg, int event){ case 2: G.f ^= G_DRAWEDGES; break; case 3: G.f ^= G_DRAWFACES; break; case 4: G.f ^= G_DRAWNORMALS; break; - case 5: me->flag ^= ME_SUBSURF; DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA); break; + case 5: flip_subdivison(OBACT, -1); break; case 6: me->flag ^= ME_OPT_EDGES; DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA); break; } addqueue(curarea->win, REDRAW, 1); |