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:
authorLukas Tönne <lukas.toenne@gmail.com>2015-03-20 11:52:32 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-20 11:52:32 +0300
commitf77d75ed65ee532cf25f29d84f3d4297c8712c52 (patch)
treec967cb0530e7d950e8291b3b931b504768984e81
parent481ef9704d437b7fa4b7b905b9e60b44b55d719b (diff)
Fully reset the OB_FROM_DUPLI flag for each dupli instance, in case
later duplis can not be found in the cache.
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index a6d6cefb265..689d1904952 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2096,6 +2096,7 @@ static void draw_dupli_objects_color(
/* override final DM */
bb_tmp = NULL;
+ tbase.flag &= ~OB_FROMCACHE;
if (base->object->dup_cache) {
DupliObjectData *dob_data = BKE_dupli_cache_find_data(base->object->dup_cache, tbase.object);
if (dob_data->cache_dm) {