I have a script that works fine on a non-mirrored mesh but produces a different result on a mirrored mesh. The script emulates the keystroke combination of "s", "x/y/z", "0" using the following line:
bpy.ops.transform.resize(value=(0, 1, 1), constraint_axis=(True, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1)
(substituting the appropriate values for x/y/z)
When I run this on a normal mesh in wire/solid mode I get the expected results:
With a mirrored mesh in wired mode I also get the correct result. However with mirrored and in solid mode I get this:
Moving any/all of the vertices immediately redraws the mesh and everything snaps to the correct place. I have tried changing the "mirror" attribute to "True" and get the same results. Is there a refresh/redraw option that I'm missing? I'm sure there is something I'm not getting but I can't seem to find it.
Thanks for any help…