Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-12-02 02:25:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-02 02:25:00 +0300
commit1e32ec2000ef2e50a93d2934f4692c7a88e59ac5 (patch)
tree5bae16c23664f4e789879f43b63801599f2695e2 /source/blender/include/blendef.h
parent141e279d708c80b5187898035d0d50181cbb6dca (diff)
minor update, "Draw Handles" wasnt working when disabled everywhere and replaced some magic numbers
Diffstat (limited to 'source/blender/include/blendef.h')
-rw-r--r--source/blender/include/blendef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h
index 55fa1fd8840..b237a2dd601 100644
--- a/source/blender/include/blendef.h
+++ b/source/blender/include/blendef.h
@@ -122,6 +122,8 @@
#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))
+/* 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))
/* psfont */
#define FNT_PDRAW 1