Commit: 484e3527d14823cdcdcc308cd65e30fadddde804
Author: Dalai Felinto
Date:   Thu Jun 8 18:58:10 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB484e3527d14823cdcdcc308cd65e30fadddde804

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.

===================================================================

M       source/blender/depsgraph/intern/depsgraph_query.cc

===================================================================

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,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to