Commit: 549b8541873abcb1bd8323e388066b695ff884ee
Author: Jacques Lucke
Date:   Wed Apr 15 15:57:10 2020 +0200
Branches: master
https://developer.blender.org/rB549b8541873abcb1bd8323e388066b695ff884ee

Fix: Replace ID_HA with ID_PT in pointcloud.c

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

M       source/blender/blenkernel/intern/pointcloud.c

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

diff --git a/source/blender/blenkernel/intern/pointcloud.c 
b/source/blender/blenkernel/intern/pointcloud.c
index 31b8de53291..717d84c1c1e 100644
--- a/source/blender/blenkernel/intern/pointcloud.c
+++ b/source/blender/blenkernel/intern/pointcloud.c
@@ -184,7 +184,7 @@ void BKE_pointcloud_update_customdata_pointers(PointCloud 
*pointcloud)
 
 PointCloud *BKE_pointcloud_new_for_eval(const PointCloud *pointcloud_src, int 
totpoint)
 {
-  PointCloud *pointcloud_dst = BKE_id_new_nomain(ID_HA, NULL);
+  PointCloud *pointcloud_dst = BKE_id_new_nomain(ID_PT, NULL);
 
   STRNCPY(pointcloud_dst->id.name, pointcloud_src->id.name);
   pointcloud_dst->mat = MEM_dupallocN(pointcloud_src->mat);

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

Reply via email to