diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-25 19:23:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-25 19:23:52 +0400 |
commit | 5007d9557229a83cca7cba32f9162be73ea1dbdb (patch) | |
tree | ac2ddfb3af9f522da41f71e0769065d4a9f7eea4 /source/blender/makesdna/DNA_scene_types.h | |
parent | a9590ffaa7a6dda9173ee147cf5a67edda83d17e (diff) |
==Curve Editing==
Curve select lasso and border didnt work with hide handles enabled.
Hiding handles was using the scene->selectmode variable, but looking at this now, I see there are places where selectmode is compared with
SCE_SELECT_VERTEX, EDGE, FACE etc. as well as being.
Better to use a global flag, same as G_DRAWFACES.
This is not good since anyone using this in the few days will have an invalid selectmode variable. simple way to fix is to change modes, so do_versions shouldnt be needed.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 1d2ff1d0bf2..bab373c2424 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -427,7 +427,7 @@ typedef struct Scene { /* editmode stuff */ float editbutsize; /* size of normals */ - short selectmode; + short selectmode; /* for mesh only! */ short proportional, prop_mode; short automerge, pad5, pad6, pad7; @@ -603,8 +603,6 @@ typedef struct Scene { #define SCE_SELECT_EDGE 2 #define SCE_SELECT_FACE 4 -#define SCE_SELECT_CU_HANDLES_HIDE 8 /* for curve, when flagged hide handles */ - /* sce->recalc (now in use by previewrender) */ #define SCE_PRV_CHANGED 1 |