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>2017-05-01 17:46:43 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-05-01 17:48:09 +0300
commitd5acf4f467bfdcd4d35051c5a7fa9cd4f3234968 (patch)
tree79d762c17ec793af8af6032c95ab55930533bfb4 /source/blender
parentbb5f4a1f67c82794ba478bedb08b1851e9aeb274 (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/blender')
-rw-r--r--source/blender/blenkernel/intern/curve.c1
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);