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>2012-07-19 15:40:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-19 15:40:25 +0400
commit776c6e66b2064f2a6934a726f4fcc317b709d6fd (patch)
treea41fc64e6adb820b0fd35a1c8c2e344451e33a88 /source/blender/editors/object/object_lattice.c
parenta56f4fee38e17d05964941a5edc2850c217309d7 (diff)
add lattice selection to rna
Diffstat (limited to 'source/blender/editors/object/object_lattice.c')
-rw-r--r--source/blender/editors/object/object_lattice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_lattice.c b/source/blender/editors/object/object_lattice.c
index e85f47837ef..89f9f5de311 100644
--- a/source/blender/editors/object/object_lattice.c
+++ b/source/blender/editors/object/object_lattice.c
@@ -203,7 +203,7 @@ static int lattice_select_all_exec(bContext *C, wmOperator *op)
while (a--) {
if (bp->hide == 0) {
- if (bp->f1) {
+ if (bp->f1 & SELECT) {
action = SEL_DESELECT;
break;
}
@@ -225,7 +225,7 @@ static int lattice_select_all_exec(bContext *C, wmOperator *op)
while (a--) {
if (bp->hide == 0) {
- bp->f1 ^= 1;
+ bp->f1 ^= SELECT;
}
bp++;
}