diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-31 16:30:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-31 16:30:56 +0300 |
commit | 86a2a0f6947feab469a108eb7eb875fa5637d036 (patch) | |
tree | ff033132556d35991a488e6dc98807fa5b06b625 /source/blender/blenloader | |
parent | 607a56cb7a0e5a7fef2214d60a723dd67e8209ab (diff) |
2.5
Edit Mesh:
- Added back "Edge Shortest Path select"
It now also does regular selection, more fun!
It's mapped to CTRL+click now, and makes or clears selections
between current and previously activated edge.
Seam/Sharp/etc marking is a toolsetting mode still. These
options cannot become properties easily, because the tool
uses the properties of selected edge to clear...
- Removed a whole bunch of G.f flags, related to mesh drawing.
It's all now local in me->drawflags. Here's the list of
removed old globals:
G_DRAWEDGES
G_DRAWFACES
G_DRAWNORMALS
G_DRAW_VNORMALS
G_ALLEDGES
G_HIDDENEDGES
G_DRAWCREASES
G_DRAWSEAMS
G_DRAWSHARP
G_DRAWBWEIGHTS
G_DRAW_EDGELEN
G_DRAW_FACEAREA
G_DRAW_EDGEANG
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index bd266b08e87..f53b6dad173 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -8682,6 +8682,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main) bScreen *screen; Scene *scene; Material *ma; + Mesh *me; Scene *sce; Tex *tx; @@ -8718,6 +8719,11 @@ static void do_versions(FileData *fd, Library *lib, Main *main) if(tx->nodetree && strlen(tx->nodetree->id.name)==0) strcpy(tx->nodetree->id.name, "NTTexture Nodetree"); } + + /* copy standard draw flag to meshes(used to be global, is not available here) */ + for(me= main->mesh.first; me; me= me->id.next) { + me->drawflag= ME_DRAWEDGES|ME_DRAWFACES|ME_DRAWCREASES; + } } /* TODO: should be moved into one of the version blocks once this branch moves to trunk and we can |