diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-01-16 22:50:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-01-16 23:03:12 +0300 |
commit | 43872f59b9a6c471b81fff48b09a2f5e2487d985 (patch) | |
tree | c4ae234968ee6aa108c03a057d8bc83a310e99f9 /source/blender/editors/space_text | |
parent | af9e99763c95add81f72cf619acf9098e6cd9f1a (diff) | |
parent | e0303d02974c914d4633e37d789e33b21689b5eb (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index df3620843ad..f603fa1b0f1 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -248,6 +248,7 @@ static int text_open_exec(bContext *C, wmOperator *op) pprop = op->customdata; if (pprop->prop) { + id_us_ensure_real(&text->id); RNA_id_pointer_create(&text->id, &idptr); RNA_property_pointer_set(&pprop->ptr, pprop->prop, idptr); RNA_property_update(C, &pprop->ptr, pprop->prop); |