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.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.c')
-rwxr-xr-xsource/blender/src/transform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index bf7da510cd1..e2b8c51644d 100755
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -514,6 +514,8 @@ void Transform()
short pmval[2] = {0, 0}, mval[2], val;
unsigned short event;
+ if(Trans.total==0) return; // added, can happen now! (ton)
+
Mat3One(mati);
// Emptying event queue