• cfouard's avatar
    FIXED bug not even yet reported: setParent used to perform a dynamic_cast... · 02cee328
    cfouard authored
    FIXED bug not even yet reported: setParent used to perform a dynamic_cast frome InterfaceFrame * to Frame * which made setParent not work if a Component was passed as parameter (the delegation for the InterfaceFrame would not work).
    The way to fix it is not optimal as it forces to write the function addChildFrame as public although it should be private as only setParent should be public. Any better fix is welcome.
    
    FIXED another bug not even reported yet: now, setParent saves the previous world transform and you can change your parent frame without moving (and without going back to the origin of the World Frame).
    
    git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1587 ec899d31-69d1-42ba-9299-647d76f65fb3
    02cee328