Animated movie where secondary character uses glasses with lens made of water, probably about bugs


My girlfriend and I are trying to find a movie she watched a while ago, but we only have a few information:
* Animated movie;
* Probably 3D;
* Probably released between 1998 and 2010;
* Two of the secondary characters are inventors/scientists (one smart and the other kinda dumb), and one of them uses glasses with lens made of drops of water.

– I saw A Bug’s Life, it’s not it.
– I’m about to see Antz and the Antbully but it doesn’t seem to be it.

Please help me ObiWan, you’re my only hope.

igormbb Edited question Jul 25, 2022