diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-03-01 00:10:41 +0300 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2007-03-01 00:10:41 +0300 |
commit | a734d3cc27a381f0c37835c14653ff8802ebca14 (patch) | |
tree | e398374970f290706a8a44d3c0d7e1cb815ab9b3 /source/blender/src/drawscene.c | |
parent | e53c5058b4cb386c6b3f63cec52750c2f6a1021b (diff) |
== Sculpt Mode ==
When switching scenes, turn Sculpt Mode off (same as for other special modes.)
Diffstat (limited to 'source/blender/src/drawscene.c')
-rw-r--r-- | source/blender/src/drawscene.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/drawscene.c b/source/blender/src/drawscene.c index e8bdf6b7330..b2d8920c1a2 100644 --- a/source/blender/src/drawscene.c +++ b/source/blender/src/drawscene.c @@ -48,6 +48,7 @@ #include "BDR_editobject.h" #include "BDR_editface.h" +#include "BDR_sculptmode.h" #include "BDR_vpaint.h" #include "BIF_space.h" @@ -81,6 +82,8 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */ set_texturepaint(); if(G.f & G_WEIGHTPAINT) set_wpaint(); + if(G.f & G_SCULPTMODE) + set_sculptmode(); G.scene= sce; |