bug in the Vector class ?



  • On 24/09/2015 at 11:59, xxxxxxxx wrote:

    The Vector class has a strange way to round the float:

      
    import c4d   
    def main() :   
        v = c4d.Vector(1094854.6949,1094854.6949,1094854.6949)   
        print v   
        print v.x   
        print v.y   
        print v.z      
    if __name__=='__main__':   
        main()   
    

    give in the console :

    Vector(1094854.695,1094854.75, 1094854.75)
    1094854.6949
    1094854.75
    1094854.75

    For the x attribute it's ok, but not for y and z

    Is that a bug ?



  • On 25/09/2015 at 02:11, xxxxxxxx wrote:

    Hello,

    I can confirm this behavior, a bug report was filed. There is a special subforum for bugreports; we will move this thread there.

    Best wishes,
    Sebastian


Log in to reply