diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-12 23:17:12 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-12 23:17:12 +0400 |
commit | a7bbf8245a072da845277d049321d6dfbc709ad2 (patch) | |
tree | e32ade953385063d9a00955a9b3db9a34e6cdbab /source/blender/src/transform_manipulator.c | |
parent | 2579d377a34686522063c1ffe6e546f914a79702 (diff) |
Fixed various errors with Blender allowing editing Library linked data.
CTRL+V on buttons
NKEY Panels
join mesh
join curve
editing buttons
boolean
vpaint
faceselect
Manipulator
Also; Transform() got in useless loop when you entered without anything
selected. Not sure why Martin recoded it this way... maybe as a first
step to handlerify it? For evil Python Aussie Bosses? :P
Diffstat (limited to 'source/blender/src/transform_manipulator.c')
-rw-r--r-- | source/blender/src/transform_manipulator.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/src/transform_manipulator.c b/source/blender/src/transform_manipulator.c index 4fe2850b66c..09eb88d0e47 100644 --- a/source/blender/src/transform_manipulator.c +++ b/source/blender/src/transform_manipulator.c @@ -353,13 +353,10 @@ int calc_manipulator_stats(ScrArea *sa) base= (G.scene->base.first); while(base) { - if(v3d->lay & base->lay) { - - if(base->flag & SELECT) { - if(ob==NULL) ob= base->object; - calc_tw_center(base->object->obmat[3]); - totsel++; - } + if TESTBASELIB(base) { + if(ob==NULL) ob= base->object; + calc_tw_center(base->object->obmat[3]); + totsel++; } base= base->next; } |