diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-12-04 02:26:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-12-04 02:26:45 +0300 |
commit | 89205964b3eae9d66cbfabb619eb3ece3ad04a20 (patch) | |
tree | f52402f746ff973f7462efd018dc210c0188a480 /source/blender/include/blendef.h | |
parent | a2d6623689bfe75fd20ee59062a7fe1718678a5c (diff) |
curve proportional edit mode wasn't working with draw handles disabled (own error)
Diffstat (limited to 'source/blender/include/blendef.h')
-rw-r--r-- | source/blender/include/blendef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h index b237a2dd601..8f9de747c2a 100644 --- a/source/blender/include/blendef.h +++ b/source/blender/include/blendef.h @@ -121,9 +121,9 @@ #define ISPOIN3(a, b, c, d) ( (a->b) && (a->c) && (a->d) ) #define ISPOIN4(a, b, c, d, e) ( (a->b) && (a->c) && (a->d) && (a->e) ) -#define BEZSELECTED(bezt) (((bezt)->f1 & 1) || ((bezt)->f2 & 1) || ((bezt)->f3 & 1)) +#define BEZSELECTED(bezt) (((bezt)->f1 & SELECT) || ((bezt)->f2 & SELECT) || ((bezt)->f3 & SELECT)) /* for curve objects in editmode that can have hidden handles - may use for IPO's later */ -#define BEZSELECTED_HIDDENHANDLES(bezt) ((G.f & G_HIDDENHANDLES) ? (bezt)->f2 & 1 : BEZSELECTED(bezt)) +#define BEZSELECTED_HIDDENHANDLES(bezt) ((G.f & G_HIDDENHANDLES) ? (bezt)->f2 & SELECT : BEZSELECTED(bezt)) /* psfont */ #define FNT_PDRAW 1 |