Hypernurbs not redrawn.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/10/2005 at 14:41, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.1 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,

    I have a polygon object in a hypernurbs. When editing some points of the polygon object with my tool plugin, the hypernurbs surface is not updated until the "a" key is pressed or a different tool is selected.

    I already have already the following statements in my code:
    EventAdd(EVENT_FORCEREDRAW);
    DrawViews(DA_FORCEFULLREDRAW);

    The PolygonObject is redrawn correctly, but the hypernurbs seems unaffected by this. How can I send out a message so the nurbs gets also redrawn?

    Regards,
    Zaphod



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 31/10/2005 at 16:24, xxxxxxxx wrote:

    Have you called obj->Message(MSG_UPDATE) before EventAdd()? This tells Cinema 4D to recalculate the bounding box and rebuild the object cache.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/11/2005 at 04:22, xxxxxxxx wrote:

    I didn't do that... Works perfectly now...

    Thanx!


Log in to reply