BGE bug #17565 fixed: Constraint Actuator Location: GUI broken. Axis selection was...
authorBenoit Bolsee <benoit.bolsee@online.be>
Mon, 15 Sep 2008 21:37:27 +0000 (21:37 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Mon, 15 Sep 2008 21:37:27 +0000 (21:37 +0000)
source/blender/src/buttons_logic.c

index ceb93241d5aa99b3163d29965e68b6b90c3635c7..5a689050ff01728824ee7c6b62e7e3563d9f89ed 100644 (file)
@@ -2132,7 +2132,7 @@ static short draw_actuatorbuttons(Object *ob, bActuator *act, uiBlock *block, sh
        /*              str= "Limit %t|None %x0|Loc X %x1|Loc Y %x2|Loc Z %x4|Rot X %x8|Rot Y %x16|Rot Z %x32"; */
        /*                      coa->flag &= ~(63); */
                        str= "Limit %t|None %x0|Loc X %x1|Loc Y %x2|Loc Z %x4";
-                       coa->flag &= ~(7);
+                       coa->flag &= 7;
                        coa->time = 0;
                        uiDefButS(block, MENU, 1, str,          xco+10, yco-65, 70, 19, &coa->flag, 0.0, 0.0, 0, 0, "");