Commit: fcb6a57b8dfdc9d18cb370f71f82d6f82f8d917d
Author: Hans Goudey
Date:   Thu Jul 21 19:11:50 2022 -0500
Branches: refactor-mesh-hide-generic
https://developer.blender.org/rBfcb6a57b8dfdc9d18cb370f71f82d6f82f8d917d

Fix BMesh conversion

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

M       source/blender/blenkernel/intern/customdata.cc

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

diff --git a/source/blender/blenkernel/intern/customdata.cc 
b/source/blender/blenkernel/intern/customdata.cc
index 8deadaa3e56..75f9a67e992 100644
--- a/source/blender/blenkernel/intern/customdata.cc
+++ b/source/blender/blenkernel/intern/customdata.cc
@@ -2336,7 +2336,7 @@ static CustomData 
shallow_copy_remove_non_bmesh_attributes(const CustomData &src
 {
   Vector<CustomDataLayer> dst_layers;
   for (const CustomDataLayer &layer : Span<CustomDataLayer>{src.layers, 
src.totlayer}) {
-    if (attribute_stored_in_bmesh_flag(layer.name)) {
+    if (!attribute_stored_in_bmesh_flag(layer.name)) {
       dst_layers.append(layer);
     }
   }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to