Multires: Use more clear naming
There are so many reshapes now, and one more is to come. Better be explicit.
This commit is contained in:
@@ -116,7 +116,7 @@ int mdisp_rot_face_to_crn(struct MVert *mvert, struct MPoly *mpoly, struct MLoop
|
||||
|
||||
/* Reshaping, define in multires_reshape.c */
|
||||
|
||||
bool multiresModifier_reshape(
|
||||
bool multiresModifier_reshapeFromObject(
|
||||
struct Depsgraph *depsgraph,
|
||||
struct MultiresModifierData *mmd,
|
||||
struct Object *dst,
|
||||
|
||||
@@ -435,7 +435,7 @@ static void multires_reshape_init_mmd(MultiresModifierData *reshape_mmd,
|
||||
* This function might fail in cases like source and destination not having
|
||||
* matched amount of vertices.
|
||||
*/
|
||||
bool multiresModifier_reshape(
|
||||
bool multiresModifier_reshapeFromObject(
|
||||
struct Depsgraph *depsgraph,
|
||||
MultiresModifierData *mmd,
|
||||
Object *dst,
|
||||
|
||||
@@ -1274,7 +1274,7 @@ static int multires_reshape_exec(bContext *C, wmOperator *op)
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
if (!multiresModifier_reshape(depsgraph, mmd, ob, secondob)) {
|
||||
if (!multiresModifier_reshapeFromObject(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