Merge branch 'blender-v4.2-release'

This commit is contained in:
Hans Goudey
2024-06-27 09:31:14 -04:00
2 changed files with 1 additions and 10 deletions

View File

@@ -2247,16 +2247,6 @@ class ArmatureBoneDrawStrategyLine : public ArmatureBoneDrawStrategy {
col_bone = col_head = col_tail = ctx->const_color;
}
else {
if (bone.is_editbone()) {
if (bone.flag() & BONE_TIPSEL) {
col_tail = G_draw.block.color_vertex_select;
}
if (boneflag & BONE_SELECTED) {
col_bone = G_draw.block.color_bone_active;
}
col_wire = G_draw.block.color_wire;
}
/* Draw root point if we are not connected to our parent. */
if (!(bone.has_parent() && (boneflag & BONE_CONNECTED))) {

View File

@@ -729,6 +729,7 @@ static void invert_visibility_mesh(Object &object, const Span<PBVHNode *> nodes)
hide_poly.finish();
bke::mesh_hide_face_flush(mesh);
bke::pbvh::update_visibility(*object.sculpt->pbvh);
}
static void invert_visibility_grids(Depsgraph &depsgraph,