Hi again,
I have a question about UpdateTypes and a proper way to respond to updatedObject in slotObjectUpdated. In my plugin I would like to respond to changes in an object coming from the Move plugin, from the MoveSelection in particular. The user selects vertices, transforms them using a manipulator and the plugin recomputes the position of the remaining vertices. At present I have in slotObjectUpdated something like this:
if (!type.contains(UPDATE_GEOMETRY) || PluginFunctions::pickMode() != "MoveSelection") { return; // we are not interested and don't want to respond }
However, any update to my object from another plugin while I am in the MoveSelection pick mode will go through. What would be the right way to go about this?
A related question: why for example clearModelingArea from Plugin-SelectionMeshObject emits UPDATE_ALL if it does not modify geometry or topology of the object?
Another related question: if I add a property to an object, I would like to notify other plugins about it (e.g., PropertyVis). How would I do it?
Thanks a lot for your help,
Vladimir
openflipper@lists.rwth-aachen.de