No, with losing GPS the system only loses the ability to hold a position steadily and to navigate to a given position (home point) on its own. All other sensors like IMU (3-axis accelerators, 3-axis gyros), Baro (barometric altitude) are still working and are used to assist you in your piloting...