From: James W. W. <jww...@us...> - 2007-06-25 00:26:13
|
Update of /cvsroot/quesa/quesa/Development/Source/Core/System In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21320/quesa/Development/Source/Core/System Modified Files: E3Group.c Log Message: Use a separate (private) display group flag to indicate that a bounding box has been assigned, as opposed to whether a bounding box should be used. Index: E3Group.c =================================================================== RCS file: /cvsroot/quesa/quesa/Development/Source/Core/System/E3Group.c,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** E3Group.c 24 Jun 2007 01:13:57 -0000 1.51 --- E3Group.c 25 Jun 2007 00:26:07 -0000 1.52 *************** *** 55,59 **** - //============================================================================= // Internal types --- 55,58 ---- *************** *** 3221,3225 **** { // Get the field ! *pState = state ; return kQ3Success ; } --- 3220,3224 ---- { // Get the field ! *pState = state & ~kQ3DisplayGroupStateMaskPrivateBits; return kQ3Success ; } *************** *** 3236,3240 **** { // Set the field ! state = pState ; Q3Shared_Edited ( this ) ; --- 3235,3239 ---- { // Set the field ! state = (state & kQ3DisplayGroupStateMaskPrivateBits) | pState ; Q3Shared_Edited ( this ) ; *************** *** 3274,3278 **** // Set the field bBox = *pBBox ; ! state |= kQ3DisplayGroupStateMaskUseBoundingBox ; Q3Shared_Edited ( this ) ; --- 3273,3278 ---- // Set the field bBox = *pBBox ; ! state |= kQ3DisplayGroupStateMaskHasBoundingBox | ! kQ3DisplayGroupStateMaskUseBoundingBox; Q3Shared_Edited ( this ) ; *************** *** 3293,3297 **** // Get the field *pBBox = bBox ; ! return ((state & kQ3DisplayGroupStateMaskUseBoundingBox) != 0)? kQ3Success : kQ3Failure; } --- 3293,3297 ---- // Get the field *pBBox = bBox ; ! return ((state & kQ3DisplayGroupStateMaskHasBoundingBox) != 0)? kQ3Success : kQ3Failure; } *************** *** 3308,3312 **** { // Set the field ! state &= ~kQ3DisplayGroupStateMaskUseBoundingBox ; Q3Shared_Edited ( this ) ; --- 3308,3312 ---- { // Set the field ! state &= ~(kQ3DisplayGroupStateMaskUseBoundingBox | kQ3DisplayGroupStateMaskHasBoundingBox); Q3Shared_Edited ( this ) ; *************** *** 3355,3359 **** return kQ3Failure ; ! state |= kQ3DisplayGroupStateMaskUseBoundingBox ; bBox = theBBox ; Q3Shared_Edited ( this ) ; --- 3355,3360 ---- return kQ3Failure ; ! state |= kQ3DisplayGroupStateMaskHasBoundingBox | ! kQ3DisplayGroupStateMaskUseBoundingBox; bBox = theBBox ; Q3Shared_Edited ( this ) ; |