Cleanup: Sculpt: Remove unused undo::push_node return value

This commit is contained in:
Hans Goudey
2024-06-20 11:10:37 -04:00
parent 69c0d5f658
commit 0741fa373d
2 changed files with 2 additions and 4 deletions

View File

@@ -1654,7 +1654,7 @@ namespace blender::ed::sculpt_paint::undo {
*
* This is only possible when building an undo step, in between #push_begin and #push_end.
*/
undo::Node *push_node(const Object &object, const PBVHNode *node, undo::Type type);
void push_node(const Object &object, const PBVHNode *node, undo::Type type);
/**
* Retrieve the undo data of a given type for the active undo step. For example, this is used to

View File

@@ -1572,7 +1572,7 @@ static Node *bmesh_push(const Object &object, const PBVHNode *node, Type type)
return unode;
}
Node *push_node(const Object &object, const PBVHNode *node, Type type)
void push_node(const Object &object, const PBVHNode *node, Type type)
{
SculptSession &ss = *object.sculpt;
@@ -1634,8 +1634,6 @@ Node *push_node(const Object &object, const PBVHNode *node, Type type)
break;
}
});
return unode;
}
static void save_active_attribute(Object &object, SculptAttrRef *attr)