Will it affect your movements? yes.
Will it limit you? up to you.
What Mark says is very true. There are areas in which it will affect you more than others. I.E. your drops and rolls might be affected more than your balancing. I can tell you I don't do any drops and still have loads of fun. You can practice plenty of vaults over rails, balancing and precisions. Stay away from Kongs for now, though (I'd suppose, but again, not an expert)
Take it slow. Consult with your physician, but in the end, stay away from what you think you might not be ready for, and don't push through pain or discomfort. After all, you want your surgery to be a success too.