YANBU.
There's no law that says a party invite = a present. So when did everyone get so grabby and materialistic?
I understand that it's the 'usual thing' to do, and if you want to buy a gift to take, that's fine. But you said that havent got much spare money. And that this would set a precedent as there are other parties ahead in same group of friends.
So do people (on here) REALLY think you should divert money from more urgent things to buy a cheap gift for a 1yr old, (who got loads of gifts anyway, as it happens, so wouldnt have noticed yours), just to obey this silly social rule?
A true friend would have simply been glad to see you there at the party, joining them. (Instead of not going as you didnt want to buy a gift.)
I agree with the other poster who said that her remark may have been completely innocent, not remembering you didnt bring a gift.
But, if she WAS making a mean point, (ie that you didnt bring a gift), then she's not a friend/nice person and you don't need to care/worry what she thinks of you.
So don't worry OP.
And be a proud warrior in battle to reduce conspicious comsumption for the sake of appearances, while trying to encourage others to have the courage to follow your example.
This is a case of social bullying ie "everyone else does X so you must do X aswell", or be a social outcast"?!
Don't let them bully you OP! (It's who you are that counts, not what gift you brought.)