diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-22 22:47:38 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-22 22:47:38 +0400 |
commit | 9e197399447007e64ee2f8aec36330fd55ddf44f (patch) | |
tree | 8aea7088bbb622398be33a158616bb1cf56af42a /source/blender/src/edit.c | |
parent | fc169264cd9a6c6aa50e202b1bcb637bfccd65e0 (diff) |
Various stuff in one commit;
- Added (BKE_utildefines.h) POINTER_TO_INT(poin) and INT_TO_POINTER(int)
defines, to help fixing issues with switch to 64 bits systems. This
assumes that a) not more than 16GB mem is used and b) that address
space is below the 1<<35 value. The latter has to be confirmed, but it
seems to conform the current 64 bits generation of OSs (for mallocs).
Needless to say; use long if you want to store pointers! This is for
temporal fixing.
- Added editmesh version for mesh-octree lookups, not used yet.
- Fix: ESC on armature posemode restored the actions, should not happen
- Fix: If in NLA an action was 0 frame long, it caused draw error
- Fix: Click on name in Action Window now activates Bones
- Fix: "Snap to" options in Armature editmode now use X-axis mirror edit.
Diffstat (limited to 'source/blender/src/edit.c')
-rw-r--r-- | source/blender/src/edit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c index 877c0f000fd..bb694b189be 100644 --- a/source/blender/src/edit.c +++ b/source/blender/src/edit.c @@ -760,6 +760,7 @@ static void special_transvert_update(void) } } else if(G.obedit->type==OB_ARMATURE){ + bArmature *arm= G.obedit->data; EditBone *ebo; /* Ensure all bones are correctly adjusted */ @@ -776,6 +777,8 @@ static void special_transvert_update(void) } } } + if(arm->flag & ARM_MIRROR_EDIT) + transform_armature_mirror_update(); } else if(G.obedit->type==OB_LATTICE) { if(editLatt->flag & LT_OUTSIDE) outside_lattice(editLatt); |