1. Method for determining 3D coordinates of an object by an optical measuring device, the method comprising: a structured-light 3D measurement of 3D coordinates of the object with: illuminating the object with a temporal sequence of varying predefined patterns; capturing a temporal sequence of 2D images of the sequence of varying predefined patterns as reflected from the object; measuring a temporal sequence of brightness values of at least one 2D image point from the temporal sequence of 2D images; capturing with a time-of-flight (TOF) camera at least one range image of the object, the range image comprising distance information of a plurality of points of the object; and calculating the 3D coordinates of the object point which is correlated with the measured temporal sequence of brightness values of the 2D image point according to a distortion of the 2D images of the reflected sequence of varying predefined patterns relative to a reference of the illuminating sequence of varying predefined patterns, which distortion is caused by the 3D shape representation of the object; considering the range image in the calculation of the 3D coordinate; and using the range image for dissolving an ambiguity in the calculation of the 3D coordinate of the structured-light 3D measurement.