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>2017-04-21 14:14:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-04-21 15:06:06 +0300
commitbfa888cef28955501195dfbee002bc793685e527 (patch)
treea7ed19cdc57089f3c728337761bd08a23764814d /source/blender/editors/curve/editfont.c
parentc7f00feabaa334cd839a9e7904ee0fc1b8d8d718 (diff)
Cleanup: move draw-cache creation from BKE to DRW
Creating draw-cache should only ever be used by the draw-manager.
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r--source/blender/editors/curve/editfont.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index b149cfe3834..09a76553b2e 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -49,7 +49,6 @@
#include "BKE_context.h"
#include "BKE_curve.h"
-#include "BKE_curve_render.h"
#include "BKE_depsgraph.h"
#include "BKE_font.h"
#include "BKE_library.h"
@@ -274,7 +273,7 @@ static void text_update_edited(bContext *C, Object *obedit, int mode)
}
}
- BKE_curve_batch_selection_dirty(cu);
+ BKE_curve_batch_cache_dirty(cu, BKE_CURVE_BATCH_DIRTY_SELECT);
WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data);
}