[Bf-blender-cvs] [e87b4e254f8] temp-geometry-nodes-instance-collections: Fix: replace ID_CO with ID_GR
Jacques Lucke
noreply at git.blender.org
Thu Dec 3 15:30:27 CET 2020
Commit: e87b4e254f89acd18b86ade030da1032ae6a4fea
Author: Jacques Lucke
Date: Thu Dec 3 13:12:30 2020 +0100
Branches: temp-geometry-nodes-instance-collections
https://developer.blender.org/rBe87b4e254f89acd18b86ade030da1032ae6a4fea
Fix: replace ID_CO with ID_GR
===================================================================
M source/blender/blenkernel/BKE_persistent_data_handle.hh
===================================================================
diff --git a/source/blender/blenkernel/BKE_persistent_data_handle.hh b/source/blender/blenkernel/BKE_persistent_data_handle.hh
index b29f893dee3..bbee09c7bf4 100644
--- a/source/blender/blenkernel/BKE_persistent_data_handle.hh
+++ b/source/blender/blenkernel/BKE_persistent_data_handle.hh
@@ -143,7 +143,7 @@ class PersistentDataHandleMap {
if (id == nullptr) {
return nullptr;
}
- if (GS(id->name) != ID_CO) {
+ if (GS(id->name) != ID_GR) {
return nullptr;
}
return (Collection *)id;
More information about the Bf-blender-cvs
mailing list