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:
authorDalai Felinto <dfelinto@gmail.com>2018-08-30 23:35:33 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-08-30 23:49:05 +0300
commit7527f2317a01b911638c0db5df2661241c31c7b0 (patch)
treeba191932f71c00361dda69d0180c7017474a2e8d /source/blender/editors/curve/editfont.c
parent7874f5e5a1edea1b7ee4331c0625b0f8285e87af (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.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 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);
}