fix [#28635] Mirror Modifier - Clipping still active when modifier is disabled
This commit is contained in:
@@ -1310,7 +1310,7 @@ static short extrudeflag_edge(Object *obedit, EditMesh *em, short UNUSED(flag),
|
||||
* of the cases above to handle edges on the line of symmetry.
|
||||
*/
|
||||
for (; md; md=md->next) {
|
||||
if (md->type==eModifierType_Mirror) {
|
||||
if ((md->type==eModifierType_Mirror) && (md->mode & eModifierMode_Realtime)) {
|
||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||
|
||||
if(mmd->flag & MOD_MIR_CLIPPING) {
|
||||
@@ -1597,7 +1597,7 @@ short extrudeflag_vert(Object *obedit, EditMesh *em, short flag, float *nor, int
|
||||
* of the cases above to handle edges on the line of symmetry.
|
||||
*/
|
||||
for (; md; md=md->next) {
|
||||
if (md->type==eModifierType_Mirror) {
|
||||
if ((md->type==eModifierType_Mirror) && (md->mode & eModifierMode_Realtime)) {
|
||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||
|
||||
if(mmd->flag & MOD_MIR_CLIPPING) {
|
||||
|
||||
@@ -4148,7 +4148,7 @@ static int smooth_vertex(bContext *C, wmOperator *op)
|
||||
* are within tolerance of the plane(s) of reflection
|
||||
*/
|
||||
for(md=obedit->modifiers.first; md; md=md->next) {
|
||||
if(md->type==eModifierType_Mirror) {
|
||||
if((md->type==eModifierType_Mirror) && (md->mode & eModifierMode_Realtime)) {
|
||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||
|
||||
if(mmd->flag & MOD_MIR_CLIPPING) {
|
||||
|
||||
@@ -2675,7 +2675,7 @@ void esubdivideflag(Object *obedit, EditMesh *em, int flag, float smooth, float
|
||||
}
|
||||
|
||||
for (; md; md=md->next) {
|
||||
if (md->type==eModifierType_Mirror) {
|
||||
if ((md->type==eModifierType_Mirror) && (md->mode & eModifierMode_Realtime)) {
|
||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||
|
||||
if(mmd->flag & MOD_MIR_CLIPPING) {
|
||||
|
||||
@@ -144,7 +144,7 @@ static void clipMirrorModifier(TransInfo *t, Object *ob)
|
||||
int axis = 0;
|
||||
|
||||
for (; md; md=md->next) {
|
||||
if (md->type==eModifierType_Mirror) {
|
||||
if ((md->type==eModifierType_Mirror) && (md->mode & eModifierMode_Realtime)) {
|
||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||
|
||||
if(mmd->flag & MOD_MIR_CLIPPING) {
|
||||
|
||||
Reference in New Issue
Block a user