Depsgraph: Fix/workarounf when tagging light probe for data update
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 2 Oct 2017 13:49:49 +0000 (18:49 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 2 Oct 2017 13:49:49 +0000 (18:49 +0500)
source/blender/depsgraph/intern/depsgraph_tag.cc

index 41724100b51e2c424159dd1331acc3f821187519..0df2420d6623cf4b945107a95f4aa0db8ed93afa 100644 (file)
@@ -179,6 +179,9 @@ void id_tag_update_object_data(Depsgraph *graph, IDDepsNode *id_node)
                        break;
                case ID_PA:
                        return;
+               case ID_LP:
+                       data_comp = id_node->find_component(DEG_NODE_TYPE_PARAMETERS);
+                       break;
                default:
                        break;
        }