Multires: Remove another unused argument from reshape function
This commit is contained in:
@@ -116,8 +116,11 @@ int mdisp_rot_face_to_crn(struct MVert *mvert, struct MPoly *mpoly, struct MLoop
|
||||
|
||||
/* Reshaping, define in multires_reshape.c */
|
||||
|
||||
bool multiresModifier_reshape(struct Depsgraph *depsgraph, struct Scene *scene, struct MultiresModifierData *mmd,
|
||||
struct Object *dst, struct Object *src);
|
||||
bool multiresModifier_reshape(
|
||||
struct Depsgraph *depsgraph,
|
||||
struct MultiresModifierData *mmd,
|
||||
struct Object *dst,
|
||||
struct Object *src);
|
||||
bool multiresModifier_reshapeFromDeformModifier(
|
||||
struct Depsgraph *depsgraph,
|
||||
struct MultiresModifierData *mmd,
|
||||
|
||||
@@ -417,7 +417,6 @@ static bool multires_reshape_from_vertcos(struct Depsgraph *depsgraph,
|
||||
*/
|
||||
bool multiresModifier_reshape(
|
||||
struct Depsgraph *UNUSED(depsgraph),
|
||||
Scene *UNUSED(scene),
|
||||
MultiresModifierData *UNUSED(mmd),
|
||||
Object *UNUSED(dst),
|
||||
Object *UNUSED(src))
|
||||
|
||||
@@ -1275,7 +1275,7 @@ static int multires_reshape_exec(bContext *C, wmOperator *op)
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
if (!multiresModifier_reshape(depsgraph, scene, mmd, ob, secondob)) {
|
||||
if (!multiresModifier_reshape(depsgraph, mmd, ob, secondob)) {
|
||||
BKE_report(op->reports, RPT_ERROR, "Objects do not have the same number of vertices");
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user