diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-08-30 23:35:33 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-08-30 23:49:05 +0300 |
commit | 7527f2317a01b911638c0db5df2661241c31c7b0 (patch) | |
tree | ba191932f71c00361dda69d0180c7017474a2e8d /source/blender/editors/curve/editfont.c | |
parent | 7874f5e5a1edea1b7ee4331c0625b0f8285e87af (diff) |
Fix Font object: text selection and cursor not updating
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 163248a84fa..6725817e35d 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -273,8 +273,7 @@ static void text_update_edited(bContext *C, Object *obedit, int mode) } } - BKE_curve_batch_cache_dirty_tag(cu, BKE_CURVE_BATCH_DIRTY_SELECT); - + DEG_id_tag_update(obedit->data, DEG_TAG_SELECT_UPDATE); WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data); } |