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>2003-10-29 04:10:10 +0300
committerTon Roosendaal <ton@blender.org>2003-10-29 04:10:10 +0300
commitf3a809b09f729ef4bad73030e70827b52afda845 (patch)
tree0b28df6bcd1858e3922ca34697f7b373cd8e03c0 /source/blender/src/editscreen.c
parent5ea904facacea7adf654c2548fa127f746ea105b (diff)
- made option for auto open toolbox on left/mouse hold.
standard starts with 0.5 sec. Turn the threshold value up to effectively disable it when you dislike it. But give it a try! - added 'Home' after splitting window for buttonswindow
Diffstat (limited to 'source/blender/src/editscreen.c')
-rw-r--r--source/blender/src/editscreen.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/editscreen.c b/source/blender/src/editscreen.c
index 0e30ce6fb68..7bb862b5b9a 100644
--- a/source/blender/src/editscreen.c
+++ b/source/blender/src/editscreen.c
@@ -2225,7 +2225,7 @@ static short testsplitpoint(ScrArea *sa, char dir, float fac)
static void splitarea(ScrArea *sa, char dir, float fac)
{
bScreen *sc;
- ScrArea *newa;
+ ScrArea *newa=NULL;
ScrVert *sv1, *sv2;
short split;
@@ -2280,6 +2280,11 @@ static void splitarea(ScrArea *sa, char dir, float fac)
sa->v2= sv2;
}
+ if(sa->spacetype==SPACE_BUTS) {
+ addqueue(sa->win, UI_BUT_EVENT, B_BUTSHOME);
+ addqueue(newa->win, UI_BUT_EVENT, B_BUTSHOME);
+ }
+
/* remove double vertices en edges */
removedouble_scrverts();
removedouble_scredges();