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-30 02:39:49 +0400
committerTon Roosendaal <ton@blender.org>2005-05-30 02:39:49 +0400
commitf26e4ca15063d1c18dc6e5dfa23124af1e67cfed (patch)
tree73d9d21a477674f0a3dcbe3d0656f8738c9c8fba /source/blender
parentb1bd69c6f144d1a17bb11158e7fb2ad0382ba265 (diff)
While making TransData, with mixed selection of objects and ipokeys, the
transdata pointers were increased wrong, creating empty gaps (NULL)
Diffstat (limited to 'source/blender')
-rwxr-xr-xsource/blender/src/transform_conversions.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/transform_conversions.c b/source/blender/src/transform_conversions.c
index 49c848f283a..be7fb451c10 100755
--- a/source/blender/src/transform_conversions.c
+++ b/source/blender/src/transform_conversions.c
@@ -2107,15 +2107,17 @@ static void createTransObject(TransInfo *t)
ObjectToTransData(td, ob);
td->tdi = NULL;
td->val = NULL;
+ td++;
+ tx++;
}
}
else {
ObjectToTransData(td, ob);
td->tdi = NULL;
td->val = NULL;
+ td++;
+ tx++;
}
- td++;
- tx++;
}
}
}