[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13371] trunk/blender/source/blender/src/ editipo.c: Tiny fix in UI for editing actions/ipos:
Ton Roosendaal
ton at blender.org
Wed Jan 23 16:06:44 CET 2008
Revision: 13371
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13371
Author: ton
Date: 2008-01-23 16:06:44 +0100 (Wed, 23 Jan 2008)
Log Message:
-----------
Tiny fix in UI for editing actions/ipos:
Each Ipo block (actions, objects, etc) stores the last view
of the ipo window. Nice for selecting objects/bones and then getting
the previous view back.
When you use option "Lock time to other windows", this option is very
annoying; the action window then shifts all channels around, almost as
if this is a bug.
Modified Paths:
--------------
trunk/blender/source/blender/src/editipo.c
Modified: trunk/blender/source/blender/src/editipo.c
===================================================================
--- trunk/blender/source/blender/src/editipo.c 2008-01-23 14:30:55 UTC (rev 13370)
+++ trunk/blender/source/blender/src/editipo.c 2008-01-23 15:06:44 UTC (rev 13371)
@@ -1204,7 +1204,9 @@
if(G.sipo->ipo != ipo) {
G.sipo->ipo= ipo;
- if(ipo) G.v2d->cur= ipo->cur;
+ /* if lock we don't copy from ipo, this makes the UI jump around confusingly */
+ if(G.v2d->flag & V2D_VIEWLOCK);
+ else if(ipo) G.v2d->cur= ipo->cur;
doit= 1;
}
if(G.sipo->from != from) {
More information about the Bf-blender-cvs
mailing list