diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-14 21:44:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-14 21:44:50 +0400 |
commit | 14e6497d8b0ea53c9027b4186f2413cf633bae9e (patch) | |
tree | 55cdb2a4252f74ee83ae49dd5c61541ce4b29f30 /source/blender/src/buttons_shading.c | |
parent | c2aec192dc2c104fe6a3215af9b78d169ff206fb (diff) |
import_obj - bugfix, split by groups didnt work.
disabled lamp panel and camera panel from editing lib data
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r-- | source/blender/src/buttons_shading.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 51e1126bd21..3cf7e80f04f 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -2650,6 +2650,7 @@ static void lamp_panel_lamp(Object *ob, Lamp *la) uiDefButF(block, NUM,B_LAMPREDRAW,"Dist:", xco,180,300-xco,20,&la->dist, 0.01, 5000.0*grid, 100, 0, "Sets the distance value at which light intensity is half"); uiBlockBeginAlign(block); + uiSetButLock(la->id.lib!=0, "Can't edit library data"); if(la->type==LA_AREA) { //uiDefButS(block, MENU, B_LAMPREDRAW, "Shape %t|Square %x0|Rect %x1|Cube %x2|Box %x3", uiDefButS(block, MENU, B_LAMPREDRAW, "Shape %t|Square %x0|Rect %x1", |