Your browser does not support iframes.
Tell us what you think of the site.
I am building a tool that changes the vertex colors of a mesh. For performance reasons I use OpenMayas MFnMesh.setFaceVertexcolors() method and it works great.
I also want to undo the changes I made, so I put in a MDGModifier as argument to the method and Undo also works fine.
The problem starts when a mesh does not have a construction history due to deleting it or duplicating an object. After that the MDGModifier.undoIt() does not work anymore.
Does someone have a hint on how to make it work again?
Thank you very much,