diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-09-24 02:02:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-09-24 02:02:18 +0400 |
commit | 0b24ca19ff30175f74185da412e3d05bd73ee36e (patch) | |
tree | 9c8453199cbcb442c219b705b0c42b95c8201fe5 /source/blender/src/space.c | |
parent | 0096d180b924c1f1187d723a8e79ddc1b4c83586 (diff) |
bugfix - running scriptlinks did not initialize the armature weakref dict, thanks for finding caedes!
this bug is in 2.45 but can work around by setting it manually
---
import sys as pysys
try:
pysys.modules['__main__'].__arm_weakrefs
except:
pysys.modules['__main__'].__arm_weakrefs = {}
---
changed how draw modes work - when displaying textured meshes in editmode, only draw selected edges when "Edge Draw" is not enabled. this makes it easy to see the texture/mapping without edges getting in the way.
This means editmode can draw like UV/Face mode did when "Draw Edges" was disabled.
Also made the active vert/edge/face color themeable, still need to set the default to somthing other then pink.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r-- | source/blender/src/space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c index 78b4af26d23..d4433e7d2fe 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -3131,7 +3131,7 @@ static void info_user_themebuts(uiBlock *block, short y1, short y2, short y3) } else { uiBlockBeginAlign(block); - if ELEM8(th_curcol, TH_PANEL, TH_LAMP, TH_FACE, TH_FACE_SELECT, TH_MENU_BACK, TH_MENU_HILITE, TH_MENU_ITEM, TH_NODE) { + if ELEM9(th_curcol, TH_PANEL, TH_LAMP, TH_FACE, TH_FACE_SELECT, TH_EDITMESH_ACTIVE, TH_MENU_BACK, TH_MENU_HILITE, TH_MENU_ITEM, TH_NODE) { uiDefButC(block, NUMSLI, B_UPDATE_THEME,"A ", 465,y3+25,200,20, col+3, 0.0, 255.0, B_THEMECOL, 0, ""); } uiDefButC(block, NUMSLI, B_UPDATE_THEME,"R ", 465,y3,200,20, col, 0.0, 255.0, B_THEMECOL, 0, ""); |