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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-01-09 21:51:24 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-13 13:57:51 +0400
commit9d882031014abdd6daafe3a1235cd263edbc58fc (patch)
tree5fdfbc9b76cff1a61be4cfb371619992176a6ef4 /source/blender/editors
parent405cab9663db702340f9a3870fa2c89fe24f0b50 (diff)
Code cleanup: no need to check display list elements in texture space match
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/curve/editcurve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index c132a1a17b6..6d234598bf6 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -6910,7 +6910,7 @@ static int match_texture_space_exec(bContext *C, wmOperator *UNUSED(op))
float min[3], max[3], size[3], loc[3];
int a;
- if (ELEM(NULL, object->curve_cache, object->curve_cache->disp.first)) {
+ if (object->curve_cache == NULL) {
BKE_displist_make_curveTypes(scene, object, FALSE);
}