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:
authorCampbell Barton <ideasman42@gmail.com>2011-09-29 10:13:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-29 10:13:25 +0400
commitceb81b1960db2d1cf89fa6305ea9f13874cda950 (patch)
tree5e0137d4d67b8cc10153619ff2c5731b0fb4f570 /source/blender
parent5bbd0decfdbcb716064726b75949263a57b02d89 (diff)
no-longer select handles when transforming in the dopesheet since now the dope sheet acts as if handles are hidden.
also remove invalid comment.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/interface/interface_ops.c3
-rw-r--r--source/blender/editors/transform/transform_conversions.c9
2 files changed, 4 insertions, 8 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index ea7e8fb81bc..081b528d153 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -306,9 +306,6 @@ static int reset_default_button_exec(bContext *C, wmOperator *op)
/* Since we dont want to undo _all_ edits to settings, eg window
* edits on the screen or on operator settings.
* it might be better to move undo's inline - campbell */
- /* Note that buttons already account for this, it might be better to
- * have a way to edit the buttons rather than set the rna since block
- * callbacks also fail to run. */
if(success) {
ID *id= ptr.id.data;
if(id && ID_CHECK_UNDO(id)) {
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index c2d63fa8246..c3a249d69bc 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -2890,12 +2890,11 @@ static int count_fcurve_keys(FCurve *fcu, char side, float cfra)
/* only include points that occur on the right side of cfra */
for (i=0, bezt=fcu->bezt; i < fcu->totvert; i++, bezt++) {
if (bezt->f2 & SELECT) {
- /* fully select the other two keys */
- bezt->f1 |= SELECT;
- bezt->f3 |= SELECT;
-
- if (FrameOnMouseSide(side, bezt->vec[1][0], cfra))
+ /* no need to adjust the handle selection since they are assumed
+ * selected (like graph editor with SIPO_NOHANDLES) */
+ if (FrameOnMouseSide(side, bezt->vec[1][0], cfra)) {
count += 1;
+ }
}
}