diff options
author | Ton Roosendaal <ton@blender.org> | 2005-08-19 16:39:43 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-08-19 16:39:43 +0400 |
commit | c8a5887daa21e74f56bee472790d66997a961f18 (patch) | |
tree | 5a1853f8827c4e4725320dd18ab99fefe1142f71 /source | |
parent | 9e05d6efb5acb808b43ecb9f8aed9e1fd99eebc8 (diff) |
Forgot hidden flag update in this file...
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/Bone.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index 0d494e91ddf..59fa42c6139 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -1375,8 +1375,8 @@ static PyObject *Bone_hide( BPy_Bone * self ) "link bone to armature before attempting to hide/unhide" ); } else { //use bone datastruct - if( !( self->bone->flag & BONE_HIDDEN ) ) - self->bone->flag |= BONE_HIDDEN; + if( !( self->bone->flag & BONE_HIDDEN_P ) ) + self->bone->flag |= BONE_HIDDEN_P; } return EXPP_incr_ret( Py_None ); } @@ -1390,8 +1390,8 @@ static PyObject *Bone_unhide( BPy_Bone * self ) "link bone to armature before attempting to hide/unhide" ); } else { //use bone datastruct - if( self->bone->flag & BONE_HIDDEN ) - self->bone->flag &= ~BONE_HIDDEN; + if( self->bone->flag & BONE_HIDDEN_P ) + self->bone->flag &= ~BONE_HIDDEN_P; } return EXPP_incr_ret( Py_None ); } |