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:
authorTon Roosendaal <ton@blender.org>2005-05-12 23:17:12 +0400
committerTon Roosendaal <ton@blender.org>2005-05-12 23:17:12 +0400
commita7bbf8245a072da845277d049321d6dfbc709ad2 (patch)
treee32ade953385063d9a00955a9b3db9a34e6cdbab /source/blender/src/transform_manipulator.c
parent2579d377a34686522063c1ffe6e546f914a79702 (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.c11
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;
}