Cleanup: Sculpt: Remove unused undo::push_node return value
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user