I'm new to python and Blender and sometimes I find strange things. My problem is I'm trying to understand an operator behavior but something's missing. I'm in this situation:
I select a mesh outside edges then I call a grid fill operator. Then the operator runs and I'm presented with the filled mesh and the parameter window where I can change values.
I'd like to know how that value, precisely "12", is set. From tests I did, it looks like it's something related to the number of selected edges, and changes every time geometry is changed. To correctly use the operator, I need to know how it's set, hence my question: how can I find that operator preset source code? Mind, I'm not asking about this:
I already know that. I'm asking where is the source code which sets the "12" value. Thank you.