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:
authorRob Haarsma <phaseIV@zonnet.nl>2003-05-05 16:18:22 +0400
committerRob Haarsma <phaseIV@zonnet.nl>2003-05-05 16:18:22 +0400
commit94ff0ea3be50a5f14620f2798f8989b8c031aa84 (patch)
treea6df4d6ab992eb21fa2f4990775d62565c8c5077 /source/blender
parent8718b91af0817f1fc276eed35585d0ee985ca717 (diff)
fixed a lot of interface update issues.
big thanks to broken !
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/editarmature.c2
-rw-r--r--source/blender/src/editcurve.c4
-rw-r--r--source/blender/src/editfont.c1
-rw-r--r--source/blender/src/editmesh.c2
-rw-r--r--source/blender/src/headerbuttons.c1
5 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c
index 1227bbb2fdd..d062925861c 100644
--- a/source/blender/src/editarmature.c
+++ b/source/blender/src/editarmature.c
@@ -1523,7 +1523,7 @@ void add_primitiveArmature(int type)
countall();
allqueue(REDRAWVIEW3D, 0);
- allqueue(REDRAWBUTSEDIT, 0);
+ allqueue(REDRAWBUTSALL, 0);
allqueue(REDRAWBUTSHEAD, 0);
allqueue(REDRAWBUTSCONSTRAINT, 0);
allqueue(REDRAWNLA, 0);
diff --git a/source/blender/src/editcurve.c b/source/blender/src/editcurve.c
index ddb9e83b555..742dcbcb112 100644
--- a/source/blender/src/editcurve.c
+++ b/source/blender/src/editcurve.c
@@ -3796,7 +3796,7 @@ void add_primitiveCurve(int stype)
BLI_addtail(&editNurb, nu);
makeDispList(G.obedit);
- allqueue(REDRAWBUTSEDIT, 0);
+ allqueue(REDRAWBUTSALL, 0);
countall();
allqueue(REDRAWVIEW3D, 0);
@@ -3829,7 +3829,7 @@ void add_primitiveNurb(int type)
BLI_addtail(&editNurb,nu);
makeDispList(G.obedit);
- allqueue(REDRAWBUTSEDIT, 0);
+ allqueue(REDRAWBUTSALL, 0);
countall();
allqueue(REDRAWVIEW3D, 0);
diff --git a/source/blender/src/editfont.c b/source/blender/src/editfont.c
index 8e98a0ed8df..8df636ae5f4 100644
--- a/source/blender/src/editfont.c
+++ b/source/blender/src/editfont.c
@@ -627,6 +627,7 @@ void add_primitiveFont(int dummy_argument)
make_editText();
allqueue(REDRAWVIEW3D, 0);
+ allqueue(REDRAWBUTSALL, 0);
}
void to_upper(void)
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index b169ebf3fa3..806f31bcf5c 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -4539,7 +4539,7 @@ void add_primitiveMesh(int type)
allqueue(REDRAWIPO, 0);
allqueue(REDRAWHEADERS, 0);
allqueue(REDRAWINFO, 1); /* 1, because header->win==0! */
- allqueue(REDRAWBUTSEDIT, 0);
+ allqueue(REDRAWBUTSALL, 0);
makeDispList(G.obedit);
if (type==13) notice("Oooh Oooh Oooh");
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c
index 6626b0a16bf..8e3116b061d 100644
--- a/source/blender/src/headerbuttons.c
+++ b/source/blender/src/headerbuttons.c
@@ -2200,6 +2200,7 @@ void do_info_buttons(unsigned short event)
set_scene(sce);
}
+ BIF_preview_changed(G.buts);
break;
case B_INFODELSCE: