diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-01 17:46:43 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-01 17:48:09 +0300 |
commit | d5acf4f467bfdcd4d35051c5a7fa9cd4f3234968 (patch) | |
tree | 79d762c17ec793af8af6032c95ab55930533bfb4 /source | |
parent | bb5f4a1f67c82794ba478bedb08b1851e9aeb274 (diff) |
Fix for issue when duplicating text objects
The crash happens with Cycles and Font objects if we get Cycles working
with draw manager.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 084af644588..0cfc4a99eb2 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -209,6 +209,7 @@ Curve *BKE_curve_copy(Main *bmain, Curve *cu) cun->strinfo = MEM_dupallocN(cu->strinfo); cun->tb = MEM_dupallocN(cu->tb); cun->bb = MEM_dupallocN(cu->bb); + cun->batch_cache = NULL; if (cu->key) { cun->key = BKE_key_copy(bmain, cu->key); |