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>2006-12-12 07:18:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2006-12-12 07:18:45 +0300
commit97b6a65c74c60d00149748630734362856c79ddc (patch)
treefcf4729c5eb49978fcec71215ec4ba05310f4224 /source/blender/src/headerbuttons.c
parent9a169f26333141b1f9e0ef4609c7ef3dba2f5835 (diff)
Added a new Python slot "UvCalculate", moved Archimap and "UVs from adjacent" into it.
Removed 1/2 1/4 1/8 uv mapping options. made re-evaluating the py-scripts dir use the wait cursor (could take a while at times)
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r--source/blender/src/headerbuttons.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c
index 26169c89345..1837ae2e384 100644
--- a/source/blender/src/headerbuttons.c
+++ b/source/blender/src/headerbuttons.c
@@ -1413,9 +1413,13 @@ void do_global_buttons(unsigned short event)
break;
case B_PYMENUEVAL: /* is button from space.c *info* */
+ waitcursor( 1 ); /* can take some time */
BPyMenu_RemoveAllEntries(); /* free old data */
- if (BPyMenu_Init(1) == -1) /* re-eval scripts registration in menus */
+ if (BPyMenu_Init(1) == -1) { /* re-eval scripts registration in menus */
+ waitcursor( 0 );
error("Invalid scripts dir: check console");
+ }
+ waitcursor( 0 );
break;
case B_PYTHONDIRFILESEL: /* is button from space.c *info* */
if(curarea->spacetype==SPACE_INFO) {