pre-merge commit
authorJoseph Eagar <joeedh@gmail.com>
Fri, 25 Feb 2011 23:31:31 +0000 (23:31 +0000)
committerJoseph Eagar <joeedh@gmail.com>
Fri, 25 Feb 2011 23:31:31 +0000 (23:31 +0000)
source/blender/editors/transform/transform.c

index 31fd6f70842901de4216e906b37c97287c11d372..7de8f0e28cd1e97665c4f8bfed9df2534ae7b304 100644 (file)
@@ -3381,7 +3381,8 @@ static void applyTranslation(TransInfo *t, float vec[3]) {
                
                protectedTransBits(td->protectflag, tvec);
                
-               add_v3_v3v3(td->loc, td->iloc, tvec);
+               if (td->loc)
+                       add_v3_v3v3(td->loc, td->iloc, tvec);
                
                constraintTransLim(t, td);
        }