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:
authorBastien Montagne <bastien@blender.org>2020-05-20 18:07:00 +0300
committerBastien Montagne <bastien@blender.org>2020-05-20 19:43:46 +0300
commit3a284a37fde9daae7d987a33555e8529cdfdd488 (patch)
tree55a4175730cbfe13dab640fe1939dc21eef84105 /source/blender/blenkernel/intern/lib_query.c
parentee442833930ce5c29aa015c273eea784b583348e (diff)
Refactor: Move simulation foreach_id to new IDTypeInfo structure.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_query.c')
-rw-r--r--source/blender/blenkernel/intern/lib_query.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/lib_query.c b/source/blender/blenkernel/intern/lib_query.c
index be535e28f17..1c17250d49e 100644
--- a/source/blender/blenkernel/intern/lib_query.c
+++ b/source/blender/blenkernel/intern/lib_query.c
@@ -882,11 +882,7 @@ static void library_foreach_ID_link(Main *bmain,
break;
}
case ID_SIM: {
- Simulation *simulation = (Simulation *)id;
- if (simulation->nodetree) {
- /* nodetree **are owned by IDs**, treat them as mere sub-data and not real ID! */
- BKE_library_foreach_ID_embedded(&data, (ID **)&simulation->nodetree);
- }
+ BLI_assert(0);
break;
}