Detailed Description



Macro Definition Documentation



No flags.



This only applies if the committed object is the same as the original; it is possible to commit the changes to another (clone) object without having to re-init.

Commit updates its internal data so that further editing can be done without having to re-init the kernel.



Creates a map where points are mapped from/to, accessible with Modeling::GetPointMap().

Translation maps for tags etc. (TranslationMaps) are not affected. They are always generated when needed.



Tell the kernel to throw away internal data and start fresh.



For example, an easy way to triangulate would be to just fetch the polygon selection into the kernel (Modeling::GetNgon() and Modeling::SetNgon()), then commit with this flag.

Force the kernel to make all changed (dirty) N-gons into their polygons (triangulated).



Use instead of MODELING_COMMIT_UPDATE for any changes that are required to be updated from the original state (e.g. for tags).

Force the kernel to keep a duplicate of the original object and then restore the data and tags on the next Commit() call.



Commit will add the document undo when the object is about to be changed. It will also remove it, should the commit fail.



Same as MODELING_COMMIT_TRINGONS except it will try to create quads.



This flag prevents this call from happening. It is used by the Add Point tool to allow it to add a single point into a hole of an N-gon.

The Modeling::Commit() function in has a pre-processing call that checks if the N-gons are valid, otherwise it can lead to really bad (or failed) triangulation.



Used by the Delete tool to specify that the minimum allowed points in an N-gon is 4. Anything lower is ignored (not created). Without this flag the limit is 3.



A combination of MODELING_COMMIT_TRINGONS and MODELING_COMMIT_QUADS, so that no N-gons are created.