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:
authorCampbell Barton <ideasman42@gmail.com>2013-11-26 02:49:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-26 02:49:32 +0400
commit3c7bfb1d7d3cbedddad864bdc50fe48033b56942 (patch)
tree8c37f76756bdbdd9ad81cd15a2e63310887b2e55 /source/blender/editors
parent84334bde01dd2ed7913cbddeea966b2f0364a2b9 (diff)
fix for error in own recent commit, removing orientations.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_orientations.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index c8b6144d0f1..82c2d380d2e 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -356,13 +356,12 @@ void BIF_removeTransformOrientation(bContext *C, TransformOrientation *target)
{
Scene *scene = CTX_data_scene(C);
ListBase *transform_spaces = &scene->transform_spaces;
- TransformOrientation *ts;
const int i = BLI_findindex(transform_spaces, target);
if (i != -1) {
Main *bmain = CTX_data_main(C);
BKE_screen_view3d_main_twmode_remove(&bmain->screen, scene, i);
- BLI_freelinkN(transform_spaces, ts);
+ BLI_freelinkN(transform_spaces, target);
}
}