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-03-09 22:32:23 +0300
committerTon Roosendaal <ton@blender.org>2005-03-09 22:32:23 +0300
commit77d44e88e95d86661fc8b29db923083ec747cf9d (patch)
tree0f36fda2b7bdca363b24a00a06346044ffafb386 /source/blender
parent3e5200f1db01ccf9a5f0d6b90513413314d002d5 (diff)
Transform project; restored "auto key" after transform. It now inserts
always loc/rot/size ipos. The old method had a quite questionable heuristic for detecting what changed, not sure if we want it back. Added note in code, good candidate for later recode with dep graphs.
Diffstat (limited to 'source/blender')
-rwxr-xr-xsource/blender/src/transform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index d9c9affb92b..4b91608deef 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -1455,7 +1455,8 @@ void Transform(int mode)
if(mode==TFM_RESIZE) cmode= 's';
else if(mode==TFM_ROTATION) cmode= 'r';
/* aftertrans does displists, ipos and action channels */
- special_aftertrans_update(cmode, 0, (short)(ret_val == TRANS_CANCEL), 0 /*keyflags*/);
+ /* 7 = keyflags, meaning do loc/rot/scale ipos. Not sure if I like the old method to detect what changed (ton) */
+ special_aftertrans_update(cmode, 0, (short)(ret_val == TRANS_CANCEL), 7);
if(G.obedit==NULL && G.obpose==NULL)
clear_trans_object_base_flags();