Open Search
    NGON_FLAG

    Detailed Description

    Macros

    #define NGON_FLAG_NOVALIDATION
     
    #define NGON_FLAG_NOCHANGE
     
    #define NGON_FLAG_NOTRANSLATE
     
    #define NGON_FLAG_SETASVALID
     

    Macro Definition Documentation

    ◆ NGON_FLAG_NOVALIDATION

    #define NGON_FLAG_NOVALIDATION

    Forces the N-gon manager to ignore any validation checks when a changed message is sent to the polygon object.
    The flag is reset on the next changed message that the N-gons get from the polygon object.

    ◆ NGON_FLAG_NOCHANGE

    #define NGON_FLAG_NOCHANGE

    Forces the N-gon manager to ignore any validation checks when a changed message is sent to the polygon object.
    This is not reset and must be removed manually once any N-gon changes are completed.

    ◆ NGON_FLAG_NOTRANSLATE

    #define NGON_FLAG_NOTRANSLATE

    Stops the N-gon manager from doing a translation of the polygon indexes/internal data when the polygons are changed (i.e. when the polygon object receives MSG_POLYGONS_CHANGED). This can be used to prevent the N-gons getting changed when making changes to an object.
    For example, in the HyperNURBS object the object needs to be resized; doing this sends the MSG_POLYGONS_CHANGED message and hence changes the N-gons too.
    But the HyperNURBS object needs the N-gon data unchanged (i.e. to prevent pointers changing, indexes changing).

    ◆ NGON_FLAG_SETASVALID

    #define NGON_FLAG_SETASVALID

    Block N-gons from validating completely but let them update their validation data.
    Set ONLY if the polygon indices might have changed but are known to be valid N-gons.
    The flag is auto removed once used.