From 484e3527d14823cdcdcc308cd65e30fadddde804 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 8 Jun 2017 18:58:10 +0200 Subject: [PATCH] Fix T51750: Group selection broken This was introduced in 23c93873f40. This could be moved to deg_flush_base_flags_and_settings but since we only need this for duplis I think it's fine to be handled separately. --- source/blender/depsgraph/intern/depsgraph_query.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/depsgraph/intern/depsgraph_query.cc b/source/blender/depsgraph/intern/depsgraph_query.cc index bcfcbb3856c..df5997af283 100644 --- a/source/blender/depsgraph/intern/depsgraph_query.cc +++ b/source/blender/depsgraph/intern/depsgraph_query.cc @@ -161,6 +161,7 @@ static bool deg_objects_dupli_iterator_next(BLI_Iterator *iter) /* Temporary object to evaluate. */ data->temp_dupli_object = *dob->ob; copy_m4_m4(data->temp_dupli_object.obmat, dob->mat); + data->temp_dupli_object.select_color = data->base->object->select_color; deg_flush_base_flags_and_settings(&data->temp_dupli_object, data->base,