Update navigation cross



  • On 31/07/2013 at 11:16, xxxxxxxx wrote:

    Hello!

    There is this little green navigation cross that displays the pivot for rotations in a viewport ("point of interest").

    I can change it easily enough with

    cameraData.SetVector(c4d.ID_CAMERA_POINT_OF_INTEREST,newPivotPos)

    But while this is working functionally, the green cross in the viewport does not move visually. At least not until I actually navigate in the view - then it snaps into the correct location.

    I tried to update via messaging, viewport, and events. None of the following update methods yields any result:

    camera.Message(c4d.MSG_UPDATE)
    c4d.EventAdd()
    c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
    c4d.DrawViews (c4d.DRAWFLAGS_0)
    c4d.DrawViews (c4d.DRAWFLAGS_ONLY_BASEDRAW | c4d.DRAWFLAGS_NO_THREAD | c4d.DRAWFLAGS_NO_REDUCTION | c4d.DRAWFLAGS_NO_ANIMATION | c4d.DRAWFLAGS_FORCEFULLREDRAW, basedraw)

    So - how is the green cross visually updated? Since the rotation pivot DOES change, the internal camera value is obviously correctly updated.


Log in to reply