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:
authorTon Roosendaal <ton@blender.org>2005-08-19 16:39:43 +0400
committerTon Roosendaal <ton@blender.org>2005-08-19 16:39:43 +0400
commitc8a5887daa21e74f56bee472790d66997a961f18 (patch)
tree5a1853f8827c4e4725320dd18ab99fefe1142f71 /source/blender/python/api2_2x/Bone.c
parent9e05d6efb5acb808b43ecb9f8aed9e1fd99eebc8 (diff)
Forgot hidden flag update in this file...
Diffstat (limited to 'source/blender/python/api2_2x/Bone.c')
-rw-r--r--source/blender/python/api2_2x/Bone.c8
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 );
}