Cleanup: remove redundant double parenthesis
This commit is contained in:
@@ -509,7 +509,7 @@ static Mesh *normalEditModifier_do(NormalEditModifierData *enmd,
|
||||
}
|
||||
|
||||
Mesh *result;
|
||||
if (BKE_mesh_edges(mesh) == BKE_mesh_edges(((Mesh *)ob->data))) {
|
||||
if (BKE_mesh_edges(mesh) == BKE_mesh_edges((Mesh *)ob->data)) {
|
||||
/* We need to duplicate data here, otherwise setting custom normals
|
||||
* (which may also affect sharp edges) could
|
||||
* modify original mesh, see T43671. */
|
||||
|
||||
@@ -157,7 +157,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
|
||||
volume_grid);
|
||||
|
||||
openvdb::math::Transform::Ptr transform = local_grid->transform().copy();
|
||||
transform->postMult(openvdb::Mat4d(((float *)vmmd->object->obmat)));
|
||||
transform->postMult(openvdb::Mat4d((float *)vmmd->object->obmat));
|
||||
openvdb::Mat4d imat = openvdb::Mat4d((float *)ctx->object->imat);
|
||||
/* `imat` had floating point issues and wasn't affine. */
|
||||
imat.setCol(3, openvdb::Vec4d(0, 0, 0, 1));
|
||||
|
||||
Reference in New Issue
Block a user